Class: Olympic::Coordinate::Basic

Inherits:
Object
  • Object
show all
Defined in:
lib/olympic/coordinate/standard.rb

Instance Method Summary collapse

Constructor Details

#initialize(x, y, z) ⇒ Basic

Initializes the coordinate.

Parameters:

  • x (Numeric)
  • y (Numeric)
  • z (Numeric)


10
11
12
13
14
# File 'lib/olympic/coordinate/standard.rb', line 10

def initialize(x, y, z)
  @x = x
  @y = y
  @z = z
end