class FactoryFaster::Batch
Attributes
glob[R]
Public Class Methods
new(glob)
click to toggle source
# File lib/factory_faster/batch.rb, line 7 def initialize(glob) @glob = glob end
Public Instance Methods
process()
click to toggle source
# File lib/factory_faster/batch.rb, line 11 def process Dir.glob(glob).each do |filename| Faster.new(filename).process end end