Method: Cloudist::Listener#call

Defined in:
lib/cloudist/listener.rb

#call(meth, args) ⇒ Object



98
99
100
101
102
103
104
105
106
# File 'lib/cloudist/listener.rb', line 98

def call(meth, args)
  run_callbacks :call do
    if args.empty?
      send(meth)
    else
      send(meth, *args)
    end
  end
end