Class: TokyoMetro::App::Renderer::SideMenu::Link::MetaClass

Inherits:
Concerns::Link::Normal::MetaClass show all
Defined in:
lib/tokyo_metro/app/renderer/side_menu/link/meta_class.rb

Direct Known Subclasses

ToDocument, ToMainContent::Index, ToOtherWebsite

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, url, icon_name: nil, class_name_of_link: :link, class_name_of_div_domain: nil, open_another_window: false, size: :normal, additional_info: nil, additional_info_position: nil, link_to_another_website: false) ⇒ MetaClass

Returns a new instance of MetaClass.



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

def initialize( request , title_ja , title_en , url , icon_name: nil , class_name_of_link: :link , class_name_of_div_domain: nil , open_another_window: false , size: :normal , additional_info: nil , additional_info_position: nil , link_to_another_website: false )
  super(
    request , title_ja , title_en , url ,
    icon_name: icon_name ,
    class_name_of_link: class_name_of_link ,
    class_name_of_div_domain: class_name_of_div_domain ,
    open_another_window: open_another_window ,
    size: size ,
    additional_info: additional_info ,
    additional_info_position: additional_info_position ,
    link_to_another_website: link_to_another_website
  )
end