Sha256: 4f078cdabf58b3b7465ddf167fc7e392f3883b8500e803275880148d965587de

Contents?: true

Size: 811 Bytes

Versions: 1

Compression:

Stored size: 811 Bytes

Contents

class TokyoMetro::App::Renderer::TravelTimeInfo::MetaClass::MultipleRailwayLines < TokyoMetro::Factory::Decorate::MetaClass

  def initialize( request , railway_lines )
    super( request )
    set_railway_lines( railway_lines )
    common_procedures_when_initialize
  end

  include ::TokyoMetro::App::Renderer::TravelTimeInfo::MetaClass::Columns
  include ::TokyoMetro::App::Renderer::TravelTimeInfo::MetaClass::Common

  private

  def h_locals
    super.merge({
      railway_line: @main_railway_line ,
      rows: rows ,
      additional_info_top: additional_info_top ,
      additional_info_bottom: additional_info_bottom
    })
  end

  def set_railway_lines( railway_lines )
    @railway_lines = railway_lines
  end

  def h_locals
    super.merge({
      railway_lines: @railway_lines
    })
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tokyo_metro-0.10.1 lib/tokyo_metro/app/renderer/travel_time_info/meta_class/multiple_railway_lines.rb