Class: Ratis::Stop

Inherits:
Object
  • Object
show all
Defined in:
lib/ratis/stop.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#areaObject

Returns the value of attribute area.



4
5
6
# File 'lib/ratis/stop.rb', line 4

def area
  @area
end

#atis_stop_idObject

Returns the value of attribute atis_stop_id.



4
5
6
# File 'lib/ratis/stop.rb', line 4

def atis_stop_id
  @atis_stop_id
end

#descriptionObject

Returns the value of attribute description.



4
5
6
# File 'lib/ratis/stop.rb', line 4

def description
  @description
end

#headingObject

Returns the value of attribute heading.



4
5
6
# File 'lib/ratis/stop.rb', line 4

def heading
  @heading
end

#latitudeObject Also known as: lat

Returns the value of attribute latitude.



4
5
6
# File 'lib/ratis/stop.rb', line 4

def latitude
  @latitude
end

#longitudeObject Also known as: lng

Returns the value of attribute longitude.



4
5
6
# File 'lib/ratis/stop.rb', line 4

def longitude
  @longitude
end

#route_dirsObject

Returns the value of attribute route_dirs.



4
5
6
# File 'lib/ratis/stop.rb', line 4

def route_dirs
  @route_dirs
end

#sideObject

Returns the value of attribute side.



4
5
6
# File 'lib/ratis/stop.rb', line 4

def side
  @side
end

#stop_idObject

Returns the value of attribute stop_id.



4
5
6
# File 'lib/ratis/stop.rb', line 4

def stop_id
  @stop_id
end

#stop_positionObject

Returns the value of attribute stop_position.



4
5
6
# File 'lib/ratis/stop.rb', line 4

def stop_position
  @stop_position
end

#walk_dirObject

Returns the value of attribute walk_dir.



4
5
6
# File 'lib/ratis/stop.rb', line 4

def walk_dir
  @walk_dir
end

#walk_distObject

Returns the value of attribute walk_dist.



4
5
6
# File 'lib/ratis/stop.rb', line 4

def walk_dist
  @walk_dist
end

Instance Method Details

#route_dirObject



9
10
11
# File 'lib/ratis/stop.rb', line 9

def route_dir
  @route_dirs[:routedir]
end