Sha256: 53190058cd65aef4783a7ab1c1a0250122ff0752320bdbde2e9259737c315768

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

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

  def initialize( request )
    super( request )

    @train_type = ::TrainType.find_by( same_as: "custom.TrainType:TokyoMetro.Chiyoda.RomanceCar.Normal" )
    @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" )
      ) ,
      ::TokyoMetro::App::Renderer::TravelTimeInfo::MetaClass::ThroughOperation::EachType::RailwayLineAndTerminalStation.new(
        @request ,
        ::RailwayLine.find_by( same_as: "odpt.Railway:Odakyu.Odawara" ) ,
        ::Station::Info.find_by( same_as: "odpt.Station:Odakyu.Odawara.HonAtsugi" )
      ) ,
      ::TokyoMetro::App::Renderer::TravelTimeInfo::MetaClass::ThroughOperation::EachType::RailwayLineAndTerminalStation.new(
        @request ,
        ::RailwayLine.find_by( same_as: "odpt.Railway:HakoneTozan.Rail.OdawaraSide" ) ,
        ::Station::Info.find_by( same_as: "odpt.Station:HakoneTozan.Rail.HakoneYumoto" )
      )
    ]
  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_romance_car.rb