Class: TokyoMetro::Api::StationFacility::Info::Platform::List
- Inherits:
-
MetaClass::Fundamental::List
- Object
- Array
- MetaClass::Fundamental::List
- TokyoMetro::Api::StationFacility::Info::Platform::List
- Defined in:
- lib/tokyo_metro/api/station_facility/info/platform/list.rb
Overview
施設・出口などの情報の配列
Class Method Summary collapse
Instance Method Summary collapse
- #seed(station_facility_info_id, indent) ⇒ Object
-
#to_strf(indent = 0) ⇒ String
インスタンスの情報を整形した文字列にして返すメソッド.
Methods inherited from MetaClass::Fundamental::List
Class Method Details
.factory_for_seeding_this_class ⇒ Object
18 19 20 |
# File 'lib/tokyo_metro/api/station_facility/info/platform/list.rb', line 18 def self.factory_for_seeding_this_class factory_for_seeding_platform_infos_of_each_station end |
Instance Method Details
#seed(station_facility_info_id, indent) ⇒ Object
14 15 16 |
# File 'lib/tokyo_metro/api/station_facility/info/platform/list.rb', line 14 def seed( station_facility_info_id , indent ) super( station_facility_info_id , indent: indent + 1 , not_on_the_top_layer: true ) end |
#to_strf(indent = 0) ⇒ String
インスタンスの情報を整形した文字列にして返すメソッド
10 11 12 |
# File 'lib/tokyo_metro/api/station_facility/info/platform/list.rb', line 10 def to_strf( indent = 0 ) super( indent , 1 ) end |