Class: TokyoMetro::App::Renderer::FareTable::LinkToRailwayLinePage::Header
- Inherits:
-
Concerns::Header::Content
- Object
- RailsDecorateFactory
- Factory::Decorate::MetaClass
- Concerns::Header::MetaClass
- Concerns::Header::Title
- Concerns::Header::Content
- TokyoMetro::App::Renderer::FareTable::LinkToRailwayLinePage::Header
- Defined in:
- lib/tokyo_metro/app/renderer/fare_table/link_to_railway_line_page/header.rb
Instance Method Summary collapse
-
#initialize(request, station_info_decorated, *railway_lines) ⇒ Header
constructor
A new instance of Header.
Methods inherited from Concerns::Header::Content
Methods inherited from Concerns::Header::Title
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 |