Sha256: 727ccdec29dcf18322108edec634bde0d5f8f2d3eee2fe0a2f98928094cb278b

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 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."

  task_attr :msg

  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-5.0.0 task/noop.rb