Class: TokyoMetro::Api::Station::Info::Common::List

Inherits:
MetaClass::Fundamental::List show all
Includes:
ClassNameLibrary::Api::Station, Modules::Common::ToFactory::Seed::List
Defined in:
lib/tokyo_metro/api/station/info/common/list.rb

Instance Method Summary collapse

Methods inherited from MetaClass::Fundamental::List

#find_by_same_as

Instance Method Details

#seed(station_info_id, indent) ⇒ Object



6
7
8
# File 'lib/tokyo_metro/api/station/info/common/list.rb', line 6

def seed( station_info_id , indent )
  super( station_info_id , indent: indent + 1 , not_on_the_top_layer: true , no_display: true , display_number: false )
end

#to_strf(indent = 0) ⇒ String

インスタンスの情報を整形した文字列にして返すメソッド

Parameters:

  • indent (Integer (>=0) (defaults to: 0)

    ] インデントの幅

Returns:

  • (String)


13
14
15
# File 'lib/tokyo_metro/api/station/info/common/list.rb', line 13

def to_strf( indent = 0 )
  super( indent , 0 )
end