Method: ActiveSupport::Subscriber#call

Defined in:
activesupport/lib/active_support/subscriber.rb

#call(event) ⇒ Object



136
137
138
139
# File 'activesupport/lib/active_support/subscriber.rb', line 136

def call(event)
  method = event.name[0, event.name.index(".")]
  send(method, event)
end