Class: TokyoMetro::App::Renderer::Concerns::Header::MetaClass

Inherits:
Factory::Decorate::MetaClass show all
Defined in:
lib/tokyo_metro/app/renderer/concerns/header/meta_class.rb

Direct Known Subclasses

Selection, Title, Title::MetaClass

Instance Method Summary collapse

Constructor Details

#initialize(request, text_ja, text_en, domain_id_name: nil, domain_class_name: nil, additional_content: nil) ⇒ 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/concerns/header/meta_class.rb', line 3

def initialize(
  request , text_ja , text_en ,
  domain_id_name: nil ,
  domain_class_name: nil ,
  additional_content: nil
)
  super( request )
  @domain_class_name = domain_class_name
  @text_ja = text_ja
  @text_en = text_en
  @domain_id_name = domain_id_name
  @additional_content = additional_content
end