Class: MBTA::HeavyRail::System::Map
- Inherits:
-
Object
- Object
- MBTA::HeavyRail::System::Map
- Defined in:
- lib/mbta/heavy_rail/system.rb
Instance Attribute Summary collapse
-
#lines ⇒ Object
readonly
Returns the value of attribute lines.
Instance Method Summary collapse
-
#initialize(lines = {}) ⇒ Map
constructor
A new instance of Map.
Constructor Details
#initialize(lines = {}) ⇒ Map
Returns a new instance of Map.
11 12 13 |
# File 'lib/mbta/heavy_rail/system.rb', line 11 def initialize(lines = {}) @lines = lines end |
Instance Attribute Details
#lines ⇒ Object (readonly)
Returns the value of attribute lines.
9 10 11 |
# File 'lib/mbta/heavy_rail/system.rb', line 9 def lines @lines end |