Class: Acl9::Dsl::Generators::HelperMethod
- Inherits:
-
BooleanMethod
- Object
- Base
- BaseGenerator
- FilterMethod
- BooleanMethod
- Acl9::Dsl::Generators::HelperMethod
- Defined in:
- lib/acl9/controller_extensions/generators.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(subject_method, method) ⇒ HelperMethod
constructor
A new instance of HelperMethod.
Methods inherited from BooleanMethod
Methods inherited from FilterMethod
Methods inherited from Base
#acl_block!, #allowance_expression, #default_action
Constructor Details
#initialize(subject_method, method) ⇒ HelperMethod
Returns a new instance of HelperMethod.
189 190 191 192 193 |
# File 'lib/acl9/controller_extensions/generators.rb', line 189 def initialize(subject_method, method) super @controller = 'controller' end |