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

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

Constant Summary

Constants inherited from Base

Base::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

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