Class: Ellington::StationInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/ellington/station_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, options)
  @station = station
  @passenger = passenger
  @transition = transition
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



3
4
5
# File 'lib/ellington/station_info.rb', line 3

def options
  @options
end

#passengerObject (readonly)

Returns the value of attribute passenger.



3
4
5
# File 'lib/ellington/station_info.rb', line 3

def passenger
  @passenger
end

#stationObject (readonly)

Returns the value of attribute station.



3
4
5
# File 'lib/ellington/station_info.rb', line 3

def station
  @station
end

#transitionObject (readonly)

Returns the value of attribute transition.



3
4
5
# File 'lib/ellington/station_info.rb', line 3

def transition
  @transition
end