Class: TokyoMetro::Api::StationFacility::List
- Inherits:
-
MetaClass::NotRealTime::List
- Object
- Array
- MetaClass::Fundamental::List
- MetaClass::NotRealTime::List
- TokyoMetro::Api::StationFacility::List
- Defined in:
- lib/tokyo_metro/api/station_facility/list.rb
Overview
各駅の駅施設情報の配列
Instance Method Summary collapse
- #barrier_free_facilities ⇒ Object
- #seed_barrier_free_facilities ⇒ Object
- #seed_platform_infos ⇒ Object
-
#to_strf(indent = 0) ⇒ String
インスタンスの情報を整形した文字列にして返すメソッド.
Methods included from Modules::Common::ToFactory::Seed::Group
Methods inherited from MetaClass::Fundamental::List
Instance Method Details
#barrier_free_facilities ⇒ Object
7 8 9 |
# File 'lib/tokyo_metro/api/station_facility/list.rb', line 7 def self.class..new( self.map( &:barrier_free_facilities ).flatten ) end |
#seed_barrier_free_facilities ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'lib/tokyo_metro/api/station_facility/list.rb', line 18 def __seed__( factory_name: :factory_for_seeding_barrier_free_facilities , method_name: __method__ , indent: 0 , not_on_the_top_layer: false , display_number: true ) end |
#seed_platform_infos ⇒ Object
28 29 30 31 32 33 34 35 36 |
# File 'lib/tokyo_metro/api/station_facility/list.rb', line 28 def seed_platform_infos __seed__( factory_name: :factory_for_seeding_platform_infos , method_name: __method__ , indent: 0 , not_on_the_top_layer: false , display_number: true ) end |
#to_strf(indent = 0) ⇒ String
インスタンスの情報を整形した文字列にして返すメソッド
14 15 16 |
# File 'lib/tokyo_metro/api/station_facility/list.rb', line 14 def to_strf( indent = 0 ) super( indent , 2 ) end |