Sha256: 2fbf30acad1b3daccee726ac980b8b3bb04dc5396b7ee4e83bbac9137df83d54
Contents?: true
Size: 950 Bytes
Versions: 1
Compression:
Stored size: 950 Bytes
Contents
class TokyoMetro::App::Renderer::StationFacility::Platform::Info::Normal::Whole < TokyoMetro::App::Renderer::StationFacility::Platform::Info::MetaClass::Whole include ::TokyoMetro::App::Renderer::StationFacility::Platform::Info::Normal::Common # 乗車位置情報のタブを作成 def render_tab h.render inline: <<-HAML , type: :haml , locals: { this: self } %li{ class: [ "tab_for_" + this.tab_name.to_s , :platform_info_tab , this.railway_line.css_class_name , :clearfix ] }< %div{ class: [ :railway_line_name , :clearfix ] , onclick: raw( "changeStationFacilityPlatformInfoTabByPageLink('" + this.tab_name.to_s + "' , true ) ; return false ; " ) } = this.railway_line.decorate.render_railway_line_code( small: true ) = this.render_railway_line_text_name HAML end private def set_railway_line( railway_lines ) raise "Error" unless railway_lines.length == 1 @railway_line = railway_lines.first end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tokyo_metro-0.10.1 | lib/tokyo_metro/app/renderer/station_facility/platform/info/normal/whole.rb |