Class: TokyoMetro::App::Renderer::Concerns::Link::ToRailwayLinePage::Fare

Inherits:
MetaClass show all
Defined in:
lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/fare.rb

Direct Known Subclasses

FareTable::LinkToRailwayLinePage

Instance Method Summary collapse

Methods inherited from MetaClass

#render

Constructor Details

#initialize(request, railway_line_decorated, station_info) ⇒ Fare

Returns a new instance of Fare.



3
4
5
6
7
8
9
10
11
12
13
14
# File 'lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/fare.rb', line 3

def initialize( request , railway_line_decorated , station_info )
  super( request , railway_line_decorated )

  @suffix_ja = "の各駅まで"
  @prefix_en = "To stations on"

  @controller = :fare
  @link_type = :railway_line_page_under_action_for_station

  @station_info = station_info
  @add_connection_info_to_class = true
end