Class: Prick::Build::ModuleBatch
- Inherits:
-
BuildBatch
- Object
- BuildBatch
- Prick::Build::ModuleBatch
- Defined in:
- lib/builder/batch.rb
Instance Attribute Summary
Attributes inherited from BuildBatch
Instance Method Summary collapse
Methods inherited from BuildBatch
Methods included from Timer
file, file=, new, off!, off?, on!, on?, scale, scale=, #time, time, unit, unit=
Constructor Details
This class inherits a constructor from Prick::Build::BuildBatch
Instance Method Details
#execute ⇒ Object
84 85 86 87 88 89 90 91 |
# File 'lib/builder/batch.rb', line 84 def execute super { nodes.each { |node| sql = node&.call conn.execute sql if sql } } end |