Class: TokyoMetro::App::Renderer::TravelTimeInfo::RailwayLine::TozaiLine::Bottom::ToToyoRapidRailwayLine

Inherits:
MetaClass::ThroughOperation::EachType show all
Defined in:
lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/bottom/to_toyo_rapid_railway_line.rb

Instance Method Summary collapse

Methods inherited from MetaClass::ThroughOperation::EachType

#render, #render_precise_infos

Constructor Details

#initialize(request) ⇒ ToToyoRapidRailwayLine

Returns a new instance of ToToyoRapidRailwayLine.



3
4
5
6
7
8
9
10
11
# File 'lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/bottom/to_toyo_rapid_railway_line.rb', line 3

def initialize( request )
  super( request )

  @railway_line_and_terminal_station_info = ::TokyoMetro::App::Renderer::TravelTimeInfo::MetaClass::ThroughOperation::EachType::RailwayLineAndTerminalStation.new(
    @request ,
    ::RailwayLine.find_by( same_as: "odpt.Railway:ToyoRapidRailway.ToyoRapidRailway" ) ,
    ::Station::Info.find_by( same_as: "odpt.Station:ToyoRapidRailway.ToyoRapid.ToyoKatsutadai" )
  )
end