Module: TokyoMetro::Modules::Common::ToFactory::Seed::Info

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