Sha256: 08b2ca8e92013b3690acbb82ada664eb1c8b9e055ed6992b16950ede2d42e9c0
Contents?: true
Size: 333 Bytes
Versions: 7
Compression:
Stored size: 333 Bytes
Contents
module Celluloid # Responses to calls class Response attr_reader :call, :value def initialize(call, value) @call, @value = call, value end end # Call completed successfully class SuccessResponse < Response; end # Call was aborted due to caller error class ErrorResponse < Response; end end
Version data entries
7 entries across 7 versions & 1 rubygems