Skip to content

Instantly share code, notes, and snippets.

@beezeebly
Created December 26, 2013 20:32
Show Gist options
  • Select an option

  • Save beezeebly/8138337 to your computer and use it in GitHub Desktop.

Select an option

Save beezeebly/8138337 to your computer and use it in GitHub Desktop.
Naming conventions for Ruby
class FictionBook # camel case for class names
#...
end
def days_since_launch # snakes everywhere else
#...
end
STANDARD_PRICE = 10 # uppercase camel case for constants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment