lib/awt/task.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Awt
  class Task
    def initialize(&block)
      @block = block
    end

    def exec(targets)
      targets.each do |target|
        target.instance_eval &@block
      end
    end
  end
end