Class: SpBus::Bus

Inherits:
Object
  • Object
show all
Defined in:
lib/spbus/bus.rb

Instance Attribute Summary collapse

Instance Attribute Details

#latitudeObject

Returns the value of attribute latitude.



3
4
5
# File 'lib/spbus/bus.rb', line 3

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



3
4
5
# File 'lib/spbus/bus.rb', line 3

def longitude
  @longitude
end

#routeObject

Returns the value of attribute route.



3
4
5
# File 'lib/spbus/bus.rb', line 3

def route
  @route
end