Class: Acl9::Dsl::Generators::BooleanMethod
- Inherits:
-
FilterMethod
- Object
- Base
- BaseGenerator
- FilterMethod
- Acl9::Dsl::Generators::BooleanMethod
- Defined in:
- lib/acl9/controller_extensions/generators.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from FilterMethod
Methods inherited from BaseGenerator
Methods inherited from Base
#acl_block!, #allowance_expression, #default_action, #initialize
Constructor Details
This class inherits a constructor from Acl9::Dsl::Generators::FilterMethod
Instance Method Details
#install_on(controller_class, opts) ⇒ Object
121 122 123 124 125 126 127 128 129 |
# File 'lib/acl9/controller_extensions/generators.rb', line 121 def install_on(controller_class, opts) debug_dump(controller_class) if opts[:debug] _add_method(controller_class) if opts[:helper] controller_class.send(:helper_method, @method_name) end end |