Class: TokyoMetro::App::Renderer::SideMenu::NowDeveloping
- Inherits:
-
Factory::Decorate::MetaClass
- Object
- RailsDecorateFactory
- Factory::Decorate::MetaClass
- TokyoMetro::App::Renderer::SideMenu::NowDeveloping
- Defined in:
- lib/tokyo_metro/app/renderer/side_menu/now_developing.rb
Defined Under Namespace
Classes: Header
Instance Method Summary collapse
Instance Method Details
#render ⇒ Object
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: "%div{ id: :now_developing }\n= ::TokyoMetro::App::Renderer::SideMenu::NowDeveloping::Header.new( request ).render\n%div{ class: :info_text }\n %div{ class: :text_ja }\n - contents_ja.each do | row |\n %p<\n = row\n %div{ class: :text_en }\n %p<\n = contents_en\n HAML\nend\n" , type: :haml , locals: h_locals |