lib/rodimus/transformation.rb in rodimus-0.0.1 vs lib/rodimus/transformation.rb in rodimus-0.1.0

- old
+ new

@@ -19,12 +19,17 @@ end Process.waitall end + def to_s + "#{self.class} with #{steps.length} steps" + end + private def prepare + Rodimus.logger.info "Preparing #{self}..." # [1, 2, 3, 4] => [1, 2], [2, 3], [3, 4] steps.inject do |first, second| read, write = IO.pipe first.outgoing = write second.incoming = read