Class: TokyoMetro::App::Renderer::Concerns::Link::ToRailwayLinePage::Fare
- Inherits:
-
MetaClass
- Object
- RailsDecorateFactory
- Factory::Decorate::MetaClass
- MetaClass
- TokyoMetro::App::Renderer::Concerns::Link::ToRailwayLinePage::Fare
- Defined in:
- lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/fare.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(request, railway_line_decorated, station_info) ⇒ Fare
constructor
A new instance of Fare.
Methods inherited from MetaClass
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 |