Sha256: b93668bc3274a17aab8f2aca4ccefa3b809e1a1473df1ea3f0d701fe2d3132a3

Contents?: true

Size: 1012 Bytes

Versions: 1

Compression:

Stored size: 1012 Bytes

Contents

class TokyoMetro::App::Renderer::TravelTimeInfo::RailwayLine::YurakuchoAndFukutoshinLine::Top::ToSeibuIkebukuroLine < TokyoMetro::App::Renderer::TravelTimeInfo::MetaClass::ThroughOperation::EachType

  def initialize( request )
    super( request )

    @from_station = ::Station::Info.find_by( same_as: "odpt.Station:TokyoMetro.Yurakucho.KotakeMukaihara" )
    # @from_station = ::Station::Info.find_by( same_as: "odpt.Station:TokyoMetro.Fukutoshin.KotakeMukaihara" )

    @direction = [
      ::Station::Info.find_by( same_as: "odpt.Station:Seibu.Yurakucho.Nerima" ) ,
      ::Station::Info.find_by( same_as: "odpt.Station:Seibu.Ikebukuro.Tokorozawa" )
    ]

    @railway_line_and_terminal_station_info = ::TokyoMetro::App::Renderer::TravelTimeInfo::MetaClass::ThroughOperation::EachType::RailwayLineAndTerminalStation.new(
      @request ,
      ::RailwayLine.find_by( same_as: "odpt.Railway:Seibu.Ikebukuro" ) ,
      ::Station::Info.find_by( same_as: "odpt.Station:Seibu.Ikebukuro.Hanno" )
    )
  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/yurakucho_and_fukutoshin_line/top/to_seibu_ikebukuro_line.rb