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

Inherits:
MetaClass show all
Defined in:
lib/tokyo_metro/app/renderer/concerns/header/title/sub_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
10
11
12
# File 'lib/tokyo_metro/app/renderer/concerns/header/title/sub_content.rb', line 3

def render
  h.render inline: <<-HAML , type: :haml , locals: h_locals
%div{ class: :main_text }
%div{ class: :normal }
  %h2{ class: :text_ja }<
    = text_ja
  %h3{ class: :text_en }<
    = text_en
  HAML
end