Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/app_rail/airtable/string_ext.rb

Instance Method Summary collapse

Instance Method Details

#snake_caseObject



4
5
6
# File 'lib/app_rail/airtable/string_ext.rb', line 4

def snake_case
  gsub(' ', '_').underscore
end