Class: MBTA::HeavyRail::System::Map

Inherits:
Object
  • Object
show all
Defined in:
lib/mbta/heavy_rail/system.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#linesObject (readonly)

Returns the value of attribute lines.



9
10
11
# File 'lib/mbta/heavy_rail/system.rb', line 9

def lines
  @lines
end