class Hamster::Tuple
def eql?(other)
def eql?(other) return true if other.equal?(self) instance_of?(other.class) && @items.eql?(other.instance_variable_get(:@items)) end
def first
def first @items.first end
def initialize(*items)
def initialize(*items) @items = items.freeze end
def inspect
def inspect "(#{@items.inspect[1..-2]})" end
def last
def last @items.last end
def to_a
def to_a @items.dup end
def to_ary
def to_ary @items end