class Celluloid::Internals::Response::Block

Public Class Methods

new(call, result) click to toggle source
# File lib/celluloid/internals/responses.rb, line 34
def initialize(call, result)
  @call = call
  @result = result
end

Public Instance Methods

dispatch() click to toggle source
# File lib/celluloid/internals/responses.rb, line 39
def dispatch
  @call.task.resume(@result)
end