Class: TokyoMetro::App::Renderer::SideMenu::NowDeveloping

Inherits:
Factory::Decorate::MetaClass show all
Defined in:
lib/tokyo_metro/app/renderer/side_menu/now_developing.rb

Defined Under Namespace

Classes: Header

Instance Method Summary collapse

Instance Method Details

#renderObject



3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/tokyo_metro/app/renderer/side_menu/now_developing.rb', line 3

def render
  h.render inline: <<-HAML , type: :haml , locals: h_locals
%div{ id: :now_developing }
= ::TokyoMetro::App::Renderer::SideMenu::NowDeveloping::Header.new( request ).render
%div{ class: :info_text }
  %div{ class: :text_ja }
    - contents_ja.each do | row |
      %p<
        = row
  %div{ class: :text_en }
    %p<
      = contents_en
  HAML
end