Sha256: 48ae992dd43cde157a3351c4dee41901896ef098a0de39a954f92b0ed4f94bd3
Contents?: true
Size: 857 Bytes
Versions: 1
Compression:
Stored size: 857 Bytes
Contents
class TokyoMetro::App::Renderer::PassengerSurvey::Table::RailwayLine::Header < TokyoMetro::App::Renderer::PassengerSurvey::Table::MetaClass::Header def initialize( reqeust , make_graph , railway_line ) super( reqeust , make_graph ) @railway_line = railway_line end def render h.render inline: <<-HAML , type: :haml , locals: h_locals %thead{ id: :header_of_passenger_survey_table } = this.render_header_of_order = this.render_header_of_station = this.render_header_of_year = this.render_header_of_passenger_journeys HAML end def render_header_of_order h.render inline: <<-HAML , type: :haml , locals: { railway_line: @railway_line } %td{ class: :order , colspan: 2 }< %p< = "順位" %p{ class: :small }< = "左:" + railway_line.name_ja %p{ class: :small }< = "右:全路線" HAML end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tokyo_metro-0.10.1 | lib/tokyo_metro/app/renderer/passenger_survey/table/railway_line/header.rb |