Class: Acl9::Dsl::Generators::HelperMethod

Inherits:
BooleanMethod show all
Defined in:
lib/acl9/controller_extensions/generators.rb

Constant Summary

Constants included from Prepositions

Prepositions::VALID_PREPOSITIONS

Instance Attribute Summary

Attributes inherited from Base

#allows, #denys

Instance Method Summary collapse

Methods inherited from BooleanMethod

#install_on

Methods inherited from FilterMethod

#install_on

Methods inherited from Base

#acl_block!, #allowance_expression, #default_action

Methods included from Prepositions

#_by_preposition

Constructor Details

#initialize(subject_method, method) ⇒ HelperMethod

Returns a new instance of HelperMethod.


158
159
160
161
162
# File 'lib/acl9/controller_extensions/generators.rb', line 158

def initialize(subject_method, method)
  super

  @controller = 'controller'
end