Class: TokyoMetro::App::Renderer::FareTable::ToEachRailwayLine::StationInfos::GroupList

Inherits:
Array
  • Object
show all
Defined in:
lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos/group_list.rb

Defined Under Namespace

Classes: Factory

Instance Method Summary collapse

Instance Method Details

#renderObject



3
4
5
6
7
8
# File 'lib/tokyo_metro/app/renderer/fare_table/to_each_railway_line/station_infos/group_list.rb', line 3

def render
  ::ActionView::Base.new.render inline: <<-HAML , type: :haml , locals: { ary: self }
- ary.each do | group_info |
= group_info.render
  HAML
end