Class: TokyoMetro::App::Renderer::TravelTimeInfo::RailwayLine::YurakuchoLine::Top

Inherits:
TokyoMetro::App::Renderer::TravelTimeInfo::RailwayLine::YurakuchoAndFukutoshinLine::Top show all
Defined in:
lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_line/top.rb

Instance Method Summary collapse

Methods inherited from TokyoMetro::App::Renderer::TravelTimeInfo::RailwayLine::YurakuchoAndFukutoshinLine::Top

#initialize

Methods inherited from MetaClass::ThroughOperation

#initialize

Methods included from MetaClass::Columns

#columns

Constructor Details

This class inherits a constructor from TokyoMetro::App::Renderer::TravelTimeInfo::RailwayLine::YurakuchoAndFukutoshinLine::Top

Instance Method Details

#renderObject



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/tokyo_metro/app/renderer/travel_time_info/railway_line/yurakucho_line/top.rb', line 3

def render
  h.render inline: <<-HAML , type: :haml , locals: h_locals
%tr{ class: [ :through_operation_info_row , position ] }
%td{ class: :empty_column }<
  = " "
%td{ class: [ :railway_line_column , :yurakucho_fukutoshin_seibu ] }<
  = " "
%td{ class: :through_operation_infos , colspan: ( left_columns - 2 ) }
  = seibu_ikebukuro_line.render
%td{ colspan: columns_next_to_railway_line }<
  = " "
%td{ class: [ :railway_line_column , :yurakucho_fukutoshin_tobu ] }<
  = " "
%td{ class: :through_operation_infos }
  = tobu_tojo_line.render
%tr{ class: [ :through_operation_info_row , position ] , colspan: columns }
  HAML
end