class Transport::Coordinate
Attributes
type[R]
x[R]
y[R]
Public Class Methods
new(coordinate)
click to toggle source
# File lib/coordinate.rb, line 9 def initialize(coordinate) @type = coordinate['type'].to_sym @x = coordinate['x'] @y = coordinate['y'] end