Class: TokyoMetro::Api::Station::Info::Common::List
- Inherits:
-
MetaClass::Fundamental::List
- Object
- Array
- MetaClass::Fundamental::List
- TokyoMetro::Api::Station::Info::Common::List
- Defined in:
- lib/tokyo_metro/api/station/info/common/list.rb
Direct Known Subclasses
TokyoMetro::Api::Station::Info::ConnectingRailwayLine::List, Exit::List, LinkToPassengerSurvey::List
Instance Method Summary collapse
- #seed(station_info_id, indent) ⇒ Object
-
#to_strf(indent = 0) ⇒ String
インスタンスの情報を整形した文字列にして返すメソッド.
Methods inherited from MetaClass::Fundamental::List
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
インスタンスの情報を整形した文字列にして返すメソッド
13 14 15 |
# File 'lib/tokyo_metro/api/station/info/common/list.rb', line 13 def to_strf( indent = 0 ) super( indent , 0 ) end |