Method: Eye::Utils::AliveArray#==

Defined in:
lib/eye/utils/alive_array.rb

#==(other) ⇒ Object



52
53
54
55
56
57
58
59
60
# File 'lib/eye/utils/alive_array.rb', line 52

def ==(other)
  if other.is_a?(Eye::Utils::AliveArray)
    @arr == other.pure
  elsif other.is_a?(Array)
    @arr == other
  else
    raise "Unexpected == #{other}"
  end
end