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
112 113 114 115 116 117 118 119 120 |
# File 'lib/acl9/controller_extensions/generators.rb', line 112 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 |