Sha256: d65c80da29702224f94ec725647eca9e574521729727fa1fda6885dea33a12e5
Contents?: true
Size: 558 Bytes
Versions: 1
Compression:
Stored size: 558 Bytes
Contents
# API から取得したハッシュからインスタンスを生成するための Factory Pattern のクラス(メタクラス) class TokyoMetro::Factory::Generate::Api::StationFacility::Info::Platform::Info::Transfer::Info < TokyoMetro::Factory::Generate::Api::MetaClass::Info::NotOnTheTopLayer include ::TokyoMetro::ClassNameLibrary::Api::StationFacility def variables [ "odpt:railway" , "odpt:railDirection" , "odpt:necessaryTime" ].map { | str | @hash[ str ] } end def self.instance_class platform_transfer_info_class 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/station_facility/info/platform/info/transfer/info.rb |