Class: Statesman::MongoidTransitionGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Statesman::MongoidTransitionGenerator
- Includes:
- GeneratorHelpers
- Defined in:
- lib/generators/statesman/mongoid_transition_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_model_file ⇒ Object
17 18 19 |
# File 'lib/generators/statesman/mongoid_transition_generator.rb', line 17 def create_model_file template("mongoid_transition_model.rb.erb", model_file_name) end |