Module: Apotomo::EventMethods::ClassMethods

Defined in:
lib/apotomo/event_methods.rb

Instance Method Summary collapse

Instance Method Details

#responds_to_event(*options) ⇒ Object Also known as: respond_to_event



23
24
25
# File 'lib/apotomo/event_methods.rb', line 23

def responds_to_event(*options)
  responds_to_event_options << options
end

#responds_to_event_optionsObject



28
29
30
# File 'lib/apotomo/event_methods.rb', line 28

def responds_to_event_options
  @responds_to_event_options ||= []
end