Sha256: 339285edd9da4726e7ab898bb1e9298948938f8ebca7737ebf9b7a2d884a29d0

Contents?: true

Size: 533 Bytes

Versions: 1

Compression:

Stored size: 533 Bytes

Contents

class TokyoMetro::App::Renderer::Concerns::Link::ToRailwayLinePage::FromStationFacilityPage < TokyoMetro::App::Renderer::Concerns::Link::ToRailwayLinePage::MetaClass

  def initialize( request , railway_line_decorated )
    super( request , railway_line_decorated )
    @controller = :railway_line
    @link_type = :standard
  end

  private

  def li_classes
    ary = super()
    ary << :connection
    if railway_line_object.tokyo_metro?
      ary << :tokyo_metro
    else
      ary << :other_operators
    end
    ary
  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/from_station_facility_page.rb