Class: TokyoMetro::App::Renderer::Concerns::Header::Title::DocumentContent

Inherits:
MetaClass show all
Defined in:
lib/tokyo_metro/app/renderer/concerns/header/title/document_content.rb

Instance Method Summary collapse

Methods inherited from MetaClass

#initialize

Methods inherited from MetaClass

#initialize

Constructor Details

This class inherits a constructor from TokyoMetro::App::Renderer::Concerns::Header::Title::MetaClass

Instance Method Details

#renderObject



3
4
5
6
7
8
9
# File 'lib/tokyo_metro/app/renderer/concerns/header/title/document_content.rb', line 3

def render
  h.render inline: <<-HAML , type: :haml , locals: h_locals
%div{ id: :document_title }
= ::TokyoMetro::App::Renderer::Concerns::Header::Title::Base.new( request , ::DocumentHelper.common_title_ja , ::DocumentHelper.common_title_en ).render
= ::TokyoMetro::App::Renderer::Concerns::Header::Title::SubContent.new( request , text_ja , text_en ).render
  HAML
end