class Rinda::Tuple
Public Instance Methods
==(other)
click to toggle source
# File lib/pione/patch/rinda-patch.rb, line 19 def ==(other) return false unless other.kind_of?(Tuple) value == other.value end
init_with_ary(ary)
click to toggle source
# File lib/pione/patch/rinda-patch.rb, line 25 def init_with_ary(ary) @tuple = Array.new(ary.size) # add timestamp @tuple.timestamp = ary.timestamp @tuple.size.times do |i| @tuple[i] = ary[i] end end