Sha256: 562242341c45d627acb73e0b072cb9083726837a9eaf2fa24b2d55c00ca91db5
Contents?: true
Size: 983 Bytes
Versions: 1
Compression:
Stored size: 983 Bytes
Contents
class TokyoMetro::App::Renderer::Concerns::Link::ToRailwayLinePage::MetaClass::Group < TokyoMetro::App::Renderer::Concerns::Link::ToRailwayLinePage::MetaClass def render_railway_line_name h.render inline: <<-HAML , type: :haml , locals: h_locals_for_rendering_railway_line_name %li{ class: li_classes } = link_to_unless( without_link_to_railway_line_page , "" , url ) %div{ class: div_classes } = railway_line_decorated.render_railway_line_code( small: small_railway_line_code ) = railway_line_decorated.render_name( prefix_ja: prefix_ja , prefix_en: prefix_en , suffix_ja: suffix_ja , suffix_en: suffix_en ) HAML end private alias :__h_locals__ :h_locals def h_locals_for_rendering_railway_line_name __h_locals__.merge({ this: self }) end def h_locals { this: self , request: @request , railway_line_decorated: @railway_line_decorated , railway_line_page_name: railway_line_page_name } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tokyo_metro-0.10.1 | lib/tokyo_metro/app/renderer/concerns/link/to_railway_line_page/meta_class/group.rb |