Sha256: 2a6c4653d25776f0804776f20d55a9ba37baa10c4b64e3b5fee9faa4f9ff8142
Contents?: true
Size: 356 Bytes
Versions: 4
Compression:
Stored size: 356 Bytes
Contents
# frozen_string_literal: true module Farseer class Result def initialize(token, rest) @token = token @rest = rest freeze end attr_reader :token, :rest def eql?(other) self.class.eql?(other.class) and self.token.eql?(other.token) and self.rest.eql?(other.rest) end alias == eql? end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
farseer-0.6.0 | lib/farseer/result.rb |
farseer-0.5.0 | lib/farseer/result.rb |
farseer-0.4.0 | lib/farseer/result.rb |
farseer-0.3.0 | lib/farseer/result.rb |