Class: TokyoMetro::App::Renderer::RealTimeInfos::MetaDatum::Whole::Header

Inherits:
Concerns::Header::Content show all
Includes:
Concerns::Header::Content::SizeChangingButtonType
Defined in:
lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/whole/header.rb

Instance Method Summary collapse

Methods inherited from Concerns::Header::Content

#render

Methods inherited from Concerns::Header::Title

#render

Constructor Details

#initialize(request, visibility, icon_size: 2) ⇒ Header

Returns a new instance of Header.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/tokyo_metro/app/renderer/real_time_infos/meta_datum/whole/header.rb', line 5

def initialize( request , visibility , icon_size: 2 )
  @visibility = visibility
  super(
    request ,
    :real_time_infos ,
    :real_time_infos ,
    "現在表示中のリアルタイム情報" ,
    "About real-time informations" ,
    icon_size: icon_size ,
    size_changing_button_type: size_changing_button_type ,
    size_changing_button_id: :real_time_info_minimize_button ,
    add_update_button: true ,
    update_button_id: :update_button_in_content_header_of_real_time_infos ,
    controller_of_updating_real_time_info_form: :update ,
    action_of_updating_real_time_info_form: :real_time_infos
  )
end