Class: Monglobal::SetupGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Monglobal::SetupGenerator
- Defined in:
- lib/generators/monglobal/setup_generator.rb
Instance Method Summary collapse
-
#build_translate_models ⇒ Object
all public methods in here will be run in order.
Instance Method Details
#build_translate_models ⇒ Object
all public methods in here will be run in order
11 12 13 |
# File 'lib/generators/monglobal/setup_generator.rb', line 11 def build_translate_models template "model.rb", "app/models/#{class_file_name}" end |