Sha256: c295ca65e5fca61ad4d59e6c53dc0c8c52331bfb476ca823bdaf32aa25e900aa
Contents?: true
Size: 810 Bytes
Versions: 1
Compression:
Stored size: 810 Bytes
Contents
class TokyoMetro::ApiProcessor::RealTimeInfos::ProvisionStatus::EachRailwayLine def initialize( train_operation_infos: :provided , train_location_infos: :provided ) @train_operation_infos = train_operation_infos @train_location_infos = train_location_infos end attr_reader :train_operation_infos attr_reader :train_location_infos def train_operation_infos_are_provided? @train_operation_infos == :provided end def train_operation_infos_are_not_provided? !( train_operation_infos_are_provided? ) end def train_location_infos_provided? @train_location_infos == :provided end def train_operation_infos_are_not_provided! @train_operation_infos = :not_provided end def train_location_infos_are_not_provided! @train_location_infos = :not_provided end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tokyo_metro-0.10.1 | lib/tokyo_metro/api_processor/real_time_infos/provision_status.rb |