Class: TokyoMetro::Api::Point::List
- Inherits:
-
MetaClass::Hybrid::List
- Object
- Array
- MetaClass::Fundamental::List
- MetaClass::Hybrid::List
- TokyoMetro::Api::Point::List
- Defined in:
- lib/tokyo_metro/api/point/list.rb
Overview
地物情報 ug:Poi の配列のクラス
Instance Method Summary collapse
- #seed ⇒ Object
-
#to_strf(indent = 0) ⇒ String
インスタンスの情報を整形した文字列にして返すメソッド.
Methods inherited from MetaClass::Fundamental::List
Instance Method Details
#seed ⇒ Object
9 10 11 |
# File 'lib/tokyo_metro/api/point/list.rb', line 9 def seed super( ::Station::Info.all , display_number: true ) end |
#to_strf(indent = 0) ⇒ String
インスタンスの情報を整形した文字列にして返すメソッド
16 17 18 |
# File 'lib/tokyo_metro/api/point/list.rb', line 16 def to_strf( indent = 0 ) super( indent , 2 ) end |