Sha256: 52c9a1d6e2d5aef6f024d34418003f9d314617c4a3cca6aab1baa2fa9e28278a
Contents?: true
Size: 767 Bytes
Versions: 1
Compression:
Stored size: 767 Bytes
Contents
# API から取得したハッシュからインスタンスを生成するための Factory Pattern のクラス(メタクラス) class TokyoMetro::Factory::Generate::Api::StationFacility::Info::BarrierFree::Info::Facility::Escalator::ServiceDetail::Direction < TokyoMetro::Factory::Generate::Api::MetaClass::Info::NotOnTheTopLayer include ::TokyoMetro::ClassNameLibrary::Api::StationFacility include ::TokyoMetro::ClassNameLibrary::Api::StationFacility::BarrierFree::Escalator def initialize( arg ) super( arg ) end def variables [ up , down ] end def self.instance_class escalator_service_detail_direction_class end private def up !!( /上り/ === @string ) end def down !!( /下り/ === @string ) 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/barrier_free/info/facility/escalator/service_detail/direction.rb |