Sha256: 78a971c1a17e182059c1e360f67c55958d02430c0a9f8efd7b27057cfe610541

Contents?: true

Size: 1.3 KB

Versions: 1

Compression:

Stored size: 1.3 KB

Contents

class TokyoMetro::App::Renderer::TravelTimeInfo::RailwayLine::HanzomonLine::Bottom::ToTobuLine < TokyoMetro::App::Renderer::TravelTimeInfo::MetaClass::ThroughOperation::EachType

  def initialize( request )
    super( request )

    @direction = [
      ::Station::Info.find_by( same_as: "odpt.Station:Tobu.SkyTree.KitaSenju" ) ,
      ::Station::Info.find_by( same_as: "odpt.Station:Tobu.SkyTree.Koshigaya" ) ,
      ::Station::Info.find_by( same_as: "odpt.Station:Tobu.SkyTree.Kasukabe" ) ,
      ::Station::Info.find_by( same_as: "odpt.Station:Tobu.SkyTree.TobuDobutsuKoen" )
    ]
    @via = ::RailwayLine.find_by( same_as: "odpt.Railway:Tobu.SkyTree" )
    @railway_line_and_terminal_station_info = [
      ::TokyoMetro::App::Renderer::TravelTimeInfo::MetaClass::ThroughOperation::EachType::RailwayLineAndTerminalStation.new(
        @request ,
        ::RailwayLine.find_by( same_as: "odpt.Railway:Tobu.Isesaki" ) ,
        ::Station::Info.find_by( same_as: "odpt.Station:Tobu.Isesaki.Kuki" )
      ) ,
      ::TokyoMetro::App::Renderer::TravelTimeInfo::MetaClass::ThroughOperation::EachType::RailwayLineAndTerminalStation.new(
        @request ,
        ::RailwayLine.find_by( same_as: "odpt.Railway:Tobu.Nikko" ) ,
        ::Station::Info.find_by( same_as: "odpt.Station:Tobu.Nikko.MinamiKurihashi" )
      )
    ]
  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/hanzomon_line/bottom/to_tobu_line.rb