Sha256: 0f01d46e474d6121e1fd7d7a29557cee52c13a85282c9e401dd3534caa462238

Contents?: true

Size: 415 Bytes

Versions: 1

Compression:

Stored size: 415 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

  section_required true

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

  attr_accessor :message

  def init
  end

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reap-4.3.2 lib/reap/task/noop.rb