Sha256: f3a19f6877734f57f06002ba80ecc97f935995b72831dc9e100027a9a480a3cf

Contents?: true

Size: 371 Bytes

Versions: 3

Compression:

Stored size: 371 Bytes

Contents

require 'tap/task'

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tap-gen-0.8.0 templates/tap/generator/generators/task/resource.erb
tap-gen-0.7.1 templates/tap/generator/generators/task/resource.erb
tap-gen-0.7.0 templates/tap/generator/generators/task/resource.erb