Module: Ketchup::Handler

Extended by:
Handler
Included in:
Handler
Defined in:
lib/util/handler.rb

Instance Method Summary collapse

Instance Method Details

#action(*args) ⇒ Object



7
8
9
10
11
# File 'lib/util/handler.rb', line 7

def action(*args)
  options = args.extract_options!
  handler = args.first
  self.send(handler, options)
end