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

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

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