Sha256: 2944ac810dfbc89a536506432119d4d9e7a5dac46fd33e7c4f2ffc387264a472
Contents?: true
Size: 678 Bytes
Versions: 1
Compression:
Stored size: 678 Bytes
Contents
class TokyoMetro::App::Renderer::StationLinkList < TokyoMetro::Factory::Decorate::MetaClass def initialize( request , stations ) super( request ) @ja = ::TokyoMetro::App::Renderer::StationLinkList::Japanese.new( request , stations ) @en = ::TokyoMetro::App::Renderer::StationLinkList::English.new( request , stations ) end def render h.render inline: <<-HAML , type: :haml , locals: h_locals = ::TokyoMetro::App::Renderer::Concerns::Header::Selection.station_from_list( request ).render %div{ id: :station_link_list } = ja.render = en.render HAML end private def h_locals super.merge({ ja: @ja , en: @en }) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tokyo_metro-0.10.1 | lib/tokyo_metro/app/renderer/station_link_list.rb |