Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/generators/cream/core_ext.rb

Overview

TODO: model_file_name and similar methods in rails_assist and rails_artifaftor should be fixed to always call underscore on filenames

Instance Method Summary collapse

Instance Method Details

#as_filenameObject



5
6
7
# File 'lib/generators/cream/core_ext.rb', line 5

def as_filename
  self.underscore  
end