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 included from Prepositions
Prepositions::VALID_PREPOSITIONS
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
Methods included from Prepositions
Constructor Details
This class inherits a constructor from Acl9::Dsl::Generators::FilterMethod
Instance Method Details
#install_on(controller_class, opts) ⇒ Object
153 154 155 156 157 158 159 160 161 |
# File 'lib/acl9/controller_extensions/generators.rb', line 153 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 |