Ruby Syntax Flashcards
1
Q
snake_case is for?
A
initialise or define method, variables, and file.
2
Q
CamelCase is for?
A
Class name
e.g. class MyFirstClass
3
Q
ALLCAPITALCASE is for?
A
Constant, or constant variable
e.g. FOUR = 4