Sha256: eecfa699102ae6894d43a86a2a730fb6041cc543b4d05a06a9d2c018f848b6d9

Contents?: true

Size: 449 Bytes

Versions: 2

Compression:

Stored size: 449 Bytes

Contents

require 'tap/task'

<% redirect do |target| %># :startdoc::task <replace with manifest summary>
# <replace with command line description>

# <%= const.name %> Documentation
class <%= const.name %> < Tap::Task

  # <config file documentation>
  config :message, 'goodnight'           # a sample config
  
  def process(name)
    log message, name
    "#{message} #{name}"
  end
end <% module_nest(const.nesting, '  ') { target } end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tap-gen-0.1.3 templates/tap/generator/generators/task/task.erb
tap-gen-0.1.2 templates/tap/generator/generators/task/task.erb