Sha256: d0e0e2ebdc270bcd5a37acfa2ac0b2fdd1f4e8df195fea57516e85fd64e09e74

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

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

  def initialize( request )
    super( request )

    @train_type = ::TrainType.find_by( same_as: "custom.TrainType:TokyoMetro.Chiyoda.SemiExpress.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" ) ,
      ::Station::Info.find_by( same_as: "odpt.Station:Odakyu.Odawara.Machida" ) ,
      ::Station::Info.find_by( same_as: "odpt.Station:Odakyu.Odawara.Ebina" )
    ]
    @railway_line_and_terminal_station_info = ::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" )
    )
  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_semi_express.rb