Class: TokyoMetro::App::Renderer::StationFacility::Platform::Info::ShirokaneTakanawa::EachDirection

Inherits:
MultipleRailwayLines::EachDirection show all
Includes:
BetweenMeguroAndShirokaneTakanawa::Common, BetweenMeguroAndShirokaneTakanawa::OfSpecialDirection
Defined in:
lib/tokyo_metro/app/renderer/station_facility/platform/info/shirokane_takanawa/each_direction.rb

Instance Attribute Summary

Attributes included from MultipleRailwayLines::Common

#railway_lines

Attributes inherited from MetaClass::EachDirection

#platform_infos, #railway_direction

Instance Method Summary collapse

Methods included from BetweenMeguroAndShirokaneTakanawa::OfSpecialDirection

#of_special_direction?

Methods included from BetweenMeguroAndShirokaneTakanawa::Common

#railway_line_css_class_name, #railway_line_name_en, #railway_line_name_ja

Methods inherited from MultipleRailwayLines::EachDirection

#of_special_direction?, #render_direction_info, #render_special_direction_en

Methods included from MultipleRailwayLines::Common

#railway_line_info

Methods inherited from MetaClass::EachDirection

#initialize, #render, #render_barrier_free_facility_infos, #render_car_number_array_if_one_car_composition_type, #render_direction_info, #render_infos_of_each_platform, #render_surrounding_area_infos, #render_transfer_infos

Methods included from MetaClass::Common

#barrier_free_facility_infos, #car_composition_types, #has_barrier_free_facility_infos?, #has_one_car_composition_type?, #has_railway_direction_infos?, #has_surrounding_area_infos?, #has_transfer_infos?, #max_car_composition, #railway_line_css_class_name, #railway_line_name_en, #railway_line_name_ja, #surrounding_area_infos, #tab_name, #transfer_infos

Constructor Details

This class inherits a constructor from TokyoMetro::App::Renderer::StationFacility::Platform::Info::MetaClass::EachDirection

Instance Method Details

#render_special_direction_jaObject



6
7
8
9
10
11
12
13
14
15
# File 'lib/tokyo_metro/app/renderer/station_facility/platform/info/shirokane_takanawa/each_direction.rb', line 6

def render_special_direction_ja
  h.render inline: <<-HAML , type: :haml
%span{ class: :railway_line_name }<>
="南北線"
= "赤羽岩淵・"
%span{ class: :railway_line_name }<>
= "都営三田線"
= "西高島平" + "方面行きホーム"
  HAML
end

#special_direction_enObject



17
18
19
# File 'lib/tokyo_metro/app/renderer/station_facility/platform/info/shirokane_takanawa/each_direction.rb', line 17

def special_direction_en
  "Platform for Akabane-iwabuchi (Namboku Line) and Nishi-takashimadaira (Toei Mita Line)"
end