Sha256: fac620933b9d70cc6dc16101c99577a6159ae64c1c7af575f679211aa670537b

Contents?: true

Size: 218 Bytes

Versions: 5

Compression:

Stored size: 218 Bytes

Contents

class Deadweight
  class RakeTask
    def initialize output=STDOUT, &block
      desc "run deadweight"
      task :deadweight do
        dw = Deadweight.new(&block)
        dw.dump(output)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
deadweight-0.2.1 lib/deadweight/rake_task.rb
deadweight-0.2.0 lib/deadweight/rake_task.rb
deadweight-0.1.3 lib/deadweight/rake_task.rb
deadweight-0.1.2 lib/deadweight/rake_task.rb
deadweight-0.1.1 lib/deadweight/rake_task.rb