Sha256: 62e0f8c9971f693449d6a6d9786226416738cd1b8b34622807f49f54311f97ff

Contents?: true

Size: 385 Bytes

Versions: 1

Compression:

Stored size: 385 Bytes

Contents

<%= "# Skeleton for this file was generated by `bin/rails generate oneshot #{name}`" %>
<%= "# For copy and paste: `bin/rake oneshot:#{task_name}`" %>
namespace :oneshot do
  desc ''
  task <%= task_name %>: :environment do
    <%- if configuration.body -%>
    <%- configuration.body.each_line.map(&:chomp).each do |line| -%>
    <%= line %>
    <%- end -%>
    <%- end -%>
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oneshot_task_generator-0.1.0 lib/generators/oneshot/templates/oneshot.rake.erb