Class: Acl9::Dsl::Generators::BaseGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/acl9/controller_extensions/generators.rb

Direct Known Subclasses

FilterLambda, FilterMethod

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