Sha256: 8defec4a32a853366676c753f17b3983b8c0ff3a704997b7952399bf91b4aec2

Contents?: true

Size: 264 Bytes

Versions: 1

Compression:

Stored size: 264 Bytes

Contents

class Deadweight
  class RakeTask
    include Rake::DSL if defined?(Rake::DSL)

    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

1 entries across 1 versions & 1 rubygems

Version Path
deadweight-0.2.2 lib/deadweight/rake_task.rb