Class: TokyoMetro::App::Renderer::PassengerSurvey::Table::Station

Inherits:
MetaClass show all
Defined in:
lib/tokyo_metro/app/renderer/passenger_survey/table/station.rb

Defined Under Namespace

Classes: Header, Row

Instance Method Summary collapse

Methods inherited from MetaClass

#render

Constructor Details

#initialize(request, passenger_survey_infos, make_graph, passenger_survey_infos_all) ⇒ Station

Returns a new instance of Station.



3
4
5
6
7
8
9
# File 'lib/tokyo_metro/app/renderer/passenger_survey/table/station.rb', line 3

def initialize( request , passenger_survey_infos , make_graph , passenger_survey_infos_all )
  super( request , passenger_survey_infos , make_graph )

  @passenger_survey_infos_all = passenger_survey_infos_all

  @css_class_name_of_tables = :station
end

Instance Method Details

#render_header_of_tableObject



11
12
13
# File 'lib/tokyo_metro/app/renderer/passenger_survey/table/station.rb', line 11

def render_header_of_table
  ::TokyoMetro::App::Renderer::PassengerSurvey::Table::Station::Header.new( @reqeust , @make_graph ).render
end