Module: TokyoMetro::Modules::Common::ToFactory::Seed::Info
- Extended by:
- ActiveSupport::Concern
- Included in:
- Api::Fare::Info, Api::PassengerSurvey::Info, Api::Point::Info, Api::RailwayLine::Info::MetaClass::Info, Api::Station::Info, Api::Station::Info::Common::Info, Api::StationFacility::Info, Api::StationFacility::Info::BarrierFree::Facility::Escalator::ServiceDetail::Direction, Api::StationFacility::Info::BarrierFree::Facility::Toilet::Assistant, Api::StationFacility::Info::BarrierFree::Info, Api::StationFacility::Info::BarrierFree::ServiceDetail::Info, Api::StationFacility::Info::Platform::Info, Api::StationFacility::Info::Platform::Info::Common::Info, Api::StationTimetable::Info, Api::StationTimetable::Info::Fundamental::Info::Separated::Info, Api::StationTimetable::Info::TrainTime::Info, Api::StationTrainTime, Api::TrainTimetable::Info, Api::TrainTimetable::Info::StationTime::Info::TrainRelation::MetaClass::Info, Static::Fare::Normal::Table::Pattern, Static::OperationDay::Info, Static::Operator::Info, Static::RailwayDirection::Info, Static::RailwayLine::Info, Static::Station::InEachRailwayLine::Info, Static::TrainOperationStatus::Info, Static::TrainOwner::Info, Static::TrainType::Custom::Main::Info, Static::TrainType::InApi::Info
- Defined in:
- lib/tokyo_metro/modules/common/to_factory/seed/info.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#seed(*variables) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/tokyo_metro/modules/common/to_factory/seed/info.rb', line 5 def seed( *variables ) variables_send_to_factory = ::Array.new variables_send_to_factory << self variables_send_to_factory += variables self.class.factory_for_seeding_this_class.process( *variables_send_to_factory ) end |