Sha256: de17add3a86217b6d5f42eccb0b872c8a2d17f7ccd7101a3876a9b5a25222ead

Contents?: true

Size: 968 Bytes

Versions: 1

Compression:

Stored size: 968 Bytes

Contents

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

  def initialize( request )
    super( request )

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

    @direction = [
      ::Station::Info.find_by( same_as: "odpt.Station:Tobu.Tojo.Shiki" ) ,
      ::Station::Info.find_by( same_as: "odpt.Station:Tobu.Tojo.Kawagoe" )
    ]

    @railway_line_and_terminal_station_info = ::TokyoMetro::App::Renderer::TravelTimeInfo::MetaClass::ThroughOperation::EachType::RailwayLineAndTerminalStation.new(
      @request ,
      ::RailwayLine.find_by( same_as: "odpt.Railway:Tobu.Tojo" ) ,
      ::Station::Info.find_by( same_as: "odpt.Station:Tobu.Tojo.ShinrinKoen" )
    )
  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_tobu_tojo_line.rb