Class: Cute::V2

Inherits:
Object
  • Object
show all
Defined in:
mrblib/v2.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



3
4
5
6
7
# File 'mrblib/v2.rb', line 3

def ==(other)
  return false unless other.is_a?(V2)

  x == other.x && y == other.y
end