Class: String

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

Overview

TODO: model_file_name and similar methods in rails3_assist and rails3_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/data_mapper/roles/core_ext.rb', line 5

def as_filename
  self.underscore  
end