Sha256: 38ef274c9b8321b7108c405917ee9789dc5f107dd92b2b0c17c4e34b13c52c49

Contents?: true

Size: 185 Bytes

Versions: 3

Compression:

Stored size: 185 Bytes

Contents

module Tasks

  def demo( name, &data )

    desc "Demonstrate a custom task" unless desc

    task name do
      data = data.to_openobject
      puts data.message
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reap-6.0.0 sample/task/demo.rb
reap-6.0.1 sample/task/demo.rb
reap-6.0.2 sample/task/demo.rb