Class: TokyoMetro::Api::StationFacility::Info::BarrierFree::ServiceDetail::List
- Inherits:
-
MetaClass::Fundamental::List
- Object
- Array
- MetaClass::Fundamental::List
- TokyoMetro::Api::StationFacility::Info::BarrierFree::ServiceDetail::List
- Defined in:
- lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail/list.rb
Overview
施設の詳細情報の配列を扱うクラス
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
- #seed(barrier_free_facility_id) ⇒ Object
-
#to_s ⇒ String
(also: #to_strf)
インスタンスの情報を文字列に変換するメソッド.
Methods inherited from MetaClass::Fundamental::List
Class Method Details
.factory_for_seeding_this_class ⇒ Object
22 23 24 |
# File 'lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail/list.rb', line 22 def self.factory_for_seeding_this_class end |
Instance Method Details
#seed(barrier_free_facility_id) ⇒ Object
17 18 19 20 |
# File 'lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail/list.rb', line 17 def seed( ) raise unless .integer? super( , not_on_the_top_layer: true , no_display: true , display_number: false ) end |
#to_s ⇒ String Also known as: to_strf
インスタンスの情報を文字列に変換するメソッド
9 10 11 |
# File 'lib/tokyo_metro/api/station_facility/info/barrier_free/service_detail/list.rb', line 9 def to_s self.map( &:to_s ).join("/") end |