Module: Wonkavision::Plugins::EventHandling

Defined in:
lib/wonkavision/plugins/event_handling.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.configure(handler, options) ⇒ Object



5
6
7
8
9
10
11
12
13
14
15
# File 'lib/wonkavision/plugins/event_handling.rb', line 5

def self.configure(handler,options)
  handler.write_inheritable_attribute :event_handler_options, {}
  handler.class_inheritable_reader :event_handler_options

  handler.write_inheritable_attribute :bindings, []
  handler.class_inheritable_reader :bindings

  handler.write_inheritable_attribute :maps, []
  handler.class_inheritable_reader :maps

end