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

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

Instance Method Summary collapse

Instance Method Details

#call(ctx, *params, &bl) ⇒ Object



5
6
7
8
# File 'lib/pathway/plugins/responder.rb', line 5

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