Sha256: d57d30bfe4a33adab335e3f09f34c425742d3dbd2112bc45205e040e0040e83e

Contents?: true

Size: 974 Bytes

Versions: 1

Compression:

Stored size: 974 Bytes

Contents

class TokyoMetro::App::Renderer::TravelTimeInfo::RailwayLine::ChiyodaLine::Top::ToOdakyuTamaExpress < TokyoMetro::App::Renderer::TravelTimeInfo::MetaClass::ThroughOperation::EachType

  def initialize( request )
    super( request )

    @train_type = ::TrainType.find_by( same_as: "custom.TrainType:TokyoMetro.Chiyoda.TamaExpress.ForOdakyu" )
    @direction = [
      ::Station::Info.find_by( same_as: "odpt.Station:Odakyu.Odawara.SeijoGakuenMae" ) ,
      ::Station::Info.find_by( same_as: "odpt.Station:Odakyu.Odawara.Noborito" ) ,
      ::Station::Info.find_by( same_as: "odpt.Station:Odakyu.Odawara.ShinYurigaoka" )
    ]
    @railway_line_and_terminal_station_info = ::TokyoMetro::App::Renderer::TravelTimeInfo::MetaClass::ThroughOperation::EachType::RailwayLineAndTerminalStation.new(
        @request ,
      ::RailwayLine.find_by( same_as: "odpt.Railway:Odakyu.Tama" ) ,
      ::Station::Info.find_by( same_as: "odpt.Station:Odakyu.Tama.Karakida" )
    )
  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/chiyoda_line/top/to_odakyu_tama_express.rb