Class: ActionAuthorizer::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ActionAuthorizer::InstallGenerator
- Defined in:
- lib/generators/action_authorizer/install/install_generator.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#create_authorizers ⇒ Object
4 5 6 7 |
# File 'lib/generators/action_authorizer/install/install_generator.rb', line 4 def template 'app/authorizers/action_authorizer/base.rb' template 'app/authorizers/application_authorizer.rb' end |
#create_helpers ⇒ Object
9 10 11 |
# File 'lib/generators/action_authorizer/install/install_generator.rb', line 9 def create_helpers template 'app/helpers/action_authorizer_helper.rb' end |
#create_spec_helpers ⇒ Object
13 14 15 |
# File 'lib/generators/action_authorizer/install/install_generator.rb', line 13 def create_spec_helpers template 'spec/action_authorizer_matchers_helper.rb' end |