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

Instance Attribute Summary

Attributes included from TokyoMetro::App::Renderer::StationFacility::Platform::Info::MultipleRailwayLines::Common

#railway_lines

Attributes inherited from TokyoMetro::App::Renderer::StationFacility::Platform::Info::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 TokyoMetro::App::Renderer::StationFacility::Platform::Info::MultipleRailwayLines::EachDirection

#of_special_direction?, #render_direction_info, #render_special_direction_en

Methods included from TokyoMetro::App::Renderer::StationFacility::Platform::Info::MultipleRailwayLines::Common

#railway_line_info

Methods inherited from TokyoMetro::App::Renderer::StationFacility::Platform::Info::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 TokyoMetro::App::Renderer::StationFacility::Platform::Info::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
16
# File 'lib/tokyo_metro/app/renderer/station_facility/platform/info/meguro_and_shirokanedai/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



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

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