Class: Weese::Bus::Stop
- Inherits:
-
Object
- Object
- Weese::Bus::Stop
- Defined in:
- lib/weese/bus/stop.rb
Overview
A MetroBus stop.
Instance Attribute Summary collapse
-
#id ⇒ Integer
The WMATA Stop ID of this Stop.
Instance Method Summary collapse
-
#initialize(id) ⇒ Stop
constructor
Create a Stop.
Constructor Details
#initialize(id) ⇒ Stop
Create a Stop
17 18 19 |
# File 'lib/weese/bus/stop.rb', line 17 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ Integer
Returns The WMATA Stop ID of this Stop.
10 11 12 |
# File 'lib/weese/bus/stop.rb', line 10 def id @id end |