Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 313 Bytes

file-naming.md

File metadata and controls

13 lines (10 loc) · 313 Bytes

Ruby module Convention > File Naming

snake_case

  • Should be in lowercase.
  • If the name contains multiple words, an underscore (_) should separate it.E.g. expression_engine
  • The name should resonate with the class or methods inside the module
require './application_record'
class Car
    ...