Sha256: 087d4116679c56cfa19d26a95226d7cef4b1852d6eeb3eea811a685f5b55fcdb

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

#!/usr/bin/env ruby

require 'reap/task'

#
# Noop Task
#
# This task doesn't do anything except
# display a message. It is used simply
# for test purposes when debugging Reap.
#
class Reap::Noop < Reap::Task

  task_desc "A no-op task to help debug reap itself."

  alias_method :msg, :task

  def run
    puts ( msg.message || 'No message field in noop section.' )
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reap-4.5.2 task/noop.rb