Answer the question
In order to leave comments, you need to log in
Should the class file name start with a capital letter?
Good day. For example in Java the class file name must start with a capital letter, does this rule apply to Ruby?
Answer the question
In order to leave comments, you need to log in
Must!
Ruby style guide in English and the same in Russian
And in general, you could try to create a class with a small letter and see an error :)
UPD: if not a ror project, then the file names can be anything, not even the same as the class names
In general, it is desirable https://github.com/arbox/ruby-style-guide/blob/mas...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question