class Celluloid::BlockResponse - celluloid-0.15.2 Documentation

# class Celluloid::BlockResponse

### Public Class Methods

new(call, result) click to toggle source

    # File lib/celluloid/responses.rb, line 34
    def initialize(call, result)
      @call = call
      @result = result
    end

### Public Instance Methods

dispatch() click to toggle source

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