Module: Pathway::Plugins::Responder::ClassMethods

Defined in:
lib/pathway/plugins/responder.rb

Instance Method Summary collapse

Instance Method Details

#call(*args, **kwargs, &bl) ⇒ Object



7
8
9
10
# File 'lib/pathway/plugins/responder.rb', line 7

def call(*args, **kwargs, &bl)
  result = super(*args, **kwargs)
  block_given? ? Responder.respond(result, &bl) : result
end