Class: Ellington::StationInfo
- Inherits:
-
Object
- Object
- Ellington::StationInfo
- Defined in:
- lib/ellington/station_info.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#passenger ⇒ Object
readonly
Returns the value of attribute passenger.
-
#station ⇒ Object
readonly
Returns the value of attribute station.
-
#transition ⇒ Object
readonly
Returns the value of attribute transition.
Instance Method Summary collapse
-
#initialize(station, passenger, transition, options) ⇒ StationInfo
constructor
A new instance of StationInfo.
Constructor Details
#initialize(station, passenger, transition, options) ⇒ StationInfo
Returns a new instance of StationInfo.
4 5 6 7 8 9 |
# File 'lib/ellington/station_info.rb', line 4 def initialize(station, passenger, transition, ) @station = station @passenger = passenger @transition = transition @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/ellington/station_info.rb', line 3 def @options end |
#passenger ⇒ Object (readonly)
Returns the value of attribute passenger.
3 4 5 |
# File 'lib/ellington/station_info.rb', line 3 def passenger @passenger end |
#station ⇒ Object (readonly)
Returns the value of attribute station.
3 4 5 |
# File 'lib/ellington/station_info.rb', line 3 def station @station end |
#transition ⇒ Object (readonly)
Returns the value of attribute transition.
3 4 5 |
# File 'lib/ellington/station_info.rb', line 3 def transition @transition end |