class IRB::Vec

def dot(other)

def dot(other)
  @x*other.x + @y*other.y + @z*other.z
end