Class: RungerActions::Generators::ActionGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- RungerActions::Generators::ActionGenerator
- Defined in:
- lib/generators/runger_actions/action/action_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_policy ⇒ Object
10 11 12 |
# File 'lib/generators/runger_actions/action/action_generator.rb', line 10 def create_policy template('action.rb', File.join('app/actions', class_path, "#{file_name}.rb")) end |