Class: TokyoMetro::App::Renderer::FareTable::LinkToRailwayLinePage::Header

Inherits:
Concerns::Header::Content show all
Defined in:
lib/tokyo_metro/app/renderer/fare_table/link_to_railway_line_page/header.rb

Instance Method Summary collapse

Methods inherited from Concerns::Header::Content

#render

Methods inherited from Concerns::Header::Title

#render

Constructor Details

#initialize(request, station_info_decorated, *railway_lines) ⇒ Header

Returns a new instance of Header.



3
4
5
6
7
8
9
10
11
12
13
14
# File 'lib/tokyo_metro/app/renderer/fare_table/link_to_railway_line_page/header.rb', line 3

def initialize( request , station_info_decorated , *railway_lines )
  @railway_line = railway_lines.flatten.first
  @station_info_decorated = station_info_decorated
  super(
    request ,
    :title ,
    :fare ,
    proc_for_text_ja ,
    proc_for_text_en ,
    icon_size: 3
  )
end