Sha256: 454f288bb411c08d3b0db3a0006f136a5778343164e6fabdda981d00fc2d274e

Contents?: true

Size: 945 Bytes

Versions: 1

Compression:

Stored size: 945 Bytes

Contents

class TokyoMetro::App::Renderer::PassengerSurvey::Table::Year::Row < TokyoMetro::App::Renderer::PassengerSurvey::Table::MetaClass::Row

  def initialize(
    request ,
    passenger_survey_info , n , max_passenger_journey_in_graph , make_graph ,
    passenger_survey_infos_all_in_the_same_year
  )
    super( request , passenger_survey_info , n , max_passenger_journey_in_graph , make_graph )

    set_order( passenger_survey_infos_all_in_the_same_year )
  end

  def render
    h.render inline: <<-HAML , type: :haml , locals: h_locals
%tr{ class: [ :passenger_survey_table_row , cycle( :odd_row , :even_row ) ] , "data-href" => passenger_survey_info.station_page_name }
  - passenger_survey_info_decorated = passenger_survey_info.decorate
  = this.render_order
  = passenger_survey_info_decorated.render_station_name_in_table
  = passenger_survey_info_decorated.render_passenger_journeys
  = this.render_svg_domain_in_table
    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/year/row.rb