class Peeek::Call::Result

Attributes

value[R]

@attribute [r] value @return [Object] value of the result

Public Class Methods

new(value) click to toggle source

Initialize the result.

@param [Object] value value of the result

# File lib/peeek/call.rb, line 122
def initialize(value)
  @value = value
end

Public Instance Methods

==(other) click to toggle source
# File lib/peeek/call.rb, line 130
def ==(other)
  self.class == other.class && @value == other.value
end
Also aliased as: eql?
eql?(other)
Alias for: ==
hash() click to toggle source
# File lib/peeek/call.rb, line 135
def hash
  (self.class.hash << 32) + @value.hash
end