Class: TokyoMetro::App::Renderer::SideMenu::Link::ToMainContent::OfStation

Inherits:
Index show all
Defined in:
lib/tokyo_metro/app/renderer/side_menu/link/to_main_content/of_station.rb

Constant Summary

Constants inherited from Concerns::Link::Normal::MetaClass

Concerns::Link::Normal::MetaClass::ICON_SIZE

Instance Method Summary collapse

Methods inherited from Concerns::Link::Normal::MetaClass

#render

Constructor Details

#initialize(request, title_ja, title_en, station_info, url: nil, controller: nil, icon_name: nil, additional_class_name_of_div_domain: nil) ⇒ OfStation

Returns a new instance of OfStation.



3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/tokyo_metro/app/renderer/side_menu/link/to_main_content/of_station.rb', line 3

def initialize( request , title_ja , title_en , station_info , url: nil , controller: nil , icon_name: nil , additional_class_name_of_div_domain: nil )
  @request = request
  @current_station = current_station ,
  @station_info = station_info
  super(
    request ,
    title_ja ,
    title_en ,
    url: url ,
    controller: controller ,
    icon_name: icon_name ,
    additional_class_name_of_div_domain: additional_class_name_of_div_domain
  )
end