Class: Acl9::Dsl::Generators::BaseGenerator
- 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
-
#initialize(*args) ⇒ BaseGenerator
constructor
A new instance of BaseGenerator.
Methods inherited from Base
#acl_block!, #allowance_expression, #default_action
Constructor Details
#initialize(*args) ⇒ BaseGenerator
Returns a new instance of BaseGenerator.
38 39 40 41 42 |
# File 'lib/acl9/controller_extensions/generators.rb', line 38 def initialize(*args) @subject_method = args[0] super end |