Class: TokyoMetro::App::Renderer::TravelTimeInfo::RailwayLine::TozaiLine::Bottom::ToJrSobuLine
- Inherits:
-
MetaClass::ThroughOperation::EachType
- Object
- RailsDecorateFactory
- Factory::Decorate::MetaClass
- MetaClass::ThroughOperation::EachType
- TokyoMetro::App::Renderer::TravelTimeInfo::RailwayLine::TozaiLine::Bottom::ToJrSobuLine
- Defined in:
- lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/bottom/to_jr_sobu_line.rb
Instance Method Summary collapse
-
#initialize(request) ⇒ ToJrSobuLine
constructor
A new instance of ToJrSobuLine.
Methods inherited from MetaClass::ThroughOperation::EachType
#render, #render_precise_infos
Constructor Details
#initialize(request) ⇒ ToJrSobuLine
Returns a new instance of ToJrSobuLine.
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/tokyo_metro/app/renderer/travel_time_info/railway_line/tozai_line/bottom/to_jr_sobu_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:JR-East.ChuoSobu" ) , ::Station::Info.find_by( same_as: "odpt.Station:JR-East.SobuTozai.Tsudanuma" ) ) @note = "直通運転は朝夕のみ" end |