Class: TokyoMetro::App::Renderer::Concerns::Header::Title::DocumentContent
- Inherits:
-
MetaClass
- Object
- RailsDecorateFactory
- Factory::Decorate::MetaClass
- MetaClass
- MetaClass
- TokyoMetro::App::Renderer::Concerns::Header::Title::DocumentContent
- Defined in:
- lib/tokyo_metro/app/renderer/concerns/header/title/document_content.rb
Instance Method Summary collapse
Methods inherited from MetaClass
Methods inherited from MetaClass
Constructor Details
This class inherits a constructor from TokyoMetro::App::Renderer::Concerns::Header::Title::MetaClass
Instance Method Details
#render ⇒ Object
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 |