class Motion::Speech::EventBlock

Constants

Events

Public Instance Methods

call(event, speaker) click to toggle source
# File lib/motion/speech/event_block.rb, line 17
def call(event, speaker)
  block = send(event)
  block.call(speaker) unless block.nil?
end