Sha256: 2226e1cb4968fab7fbbde6066fb113b96ebb76af3904a3c624c130b3b4a1869d

Contents?: true

Size: 605 Bytes

Versions: 1

Compression:

Stored size: 605 Bytes

Contents

class TokyoMetro::App::Renderer::TravelTimeInfo::RailwayLine::MarunouchiLine < TokyoMetro::App::Renderer::TravelTimeInfo::MetaClass::MultipleRailwayLines

  private

  def set_railway_lines( railway_lines )
    @main_railway_line = railway_lines.find { | railway | railway.same_as == "odpt.Railway:TokyoMetro.Marunouchi" }
    @branch_railway_line = railway_lines.find { | railway | railway.same_as == "odpt.Railway:TokyoMetro.MarunouchiBranch" }
  end

  def railway_line_base
    @main_railway_line
  end

  def set_number_of_columns_next_to_railway_line
    @columns_next_to_railway_line = 9
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tokyo_metro-0.10.1 lib/tokyo_metro/app/renderer/travel_time_info/railway_line/marunouchi_line.rb