class Fray::ResponsePipe

Public Class Methods

new(thens = [], c = nil) click to toggle source
Calls superclass method Fray::AbortablePipe::new
# File lib/fray/response_pipe.rb, line 32
def initialize(thens = [], c = nil)
  abort_predicate = ->(state) { state.is_a?(Fray::Data::Response) }
  super(abort_predicate, thens, c)
end