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
    ...

Contributors

sandoche bendelonlee