Sha256: 22d31ffc33f7cfc5a56b910347203e5c5e5f10ecf413cb0a6fc3dc288bd9f7db
Contents?: true
Size: 475 Bytes
Versions: 1
Compression:
Stored size: 475 Bytes
Contents
# API から取得したハッシュからインスタンスを生成するための Factory Pattern のクラス(メタクラス) class TokyoMetro::Factory::Generate::Api::RailwayLine::Info::StationOrder::Info < TokyoMetro::Factory::Generate::Api::MetaClass::Info::NotOnTheTopLayer def variables [ "odpt:index" , "odpt:station" ].map { | str | @hash[ str ] } end def self.instance_class ::TokyoMetro::Api::RailwayLine::Info::StationOrder::Info end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tokyo_metro-0.10.1 | lib/tokyo_metro/factory/generate/api/railway_line/info/station_order/info.rb |