Class: Planet::Importer
- Inherits:
-
Object
- Object
- Planet::Importer
- Defined in:
- lib/planet/importer.rb
Class Method Summary collapse
Class Method Details
.import(config) {|planet| ... } ⇒ Object
3 4 5 6 7 8 |
# File 'lib/planet/importer.rb', line 3 def self.import(config) planet = Planet.new(config) planet.aggregate yield(planet) end |