Method: WMATA::Prediction#location
- Defined in:
- lib/resources/prediction.rb
#location ⇒ Object Also known as: station
Get the arriving station this prediction applies to.
26 27 28 |
# File 'lib/resources/prediction.rb', line 26 def location @location ||= Station.get(@attrs['LocationCode']) end |