Class: Prick::Build::ModuleBatch
- Inherits:
-
BuildBatch
- Object
- BuildBatch
- Prick::Build::ModuleBatch
- Defined in:
- lib/prick/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
108 109 110 111 112 113 114 115 |
# File 'lib/prick/builder/batch.rb', line 108 def execute super { nodes.each { |node| sql = node&.call conn.execute sql if sql } } end |