Sha256: 04739e2c8aa5d807991379088b54b376340c3e879981c6f51a02439b41ffe508

Contents?: true

Size: 264 Bytes

Versions: 1

Compression:

Stored size: 264 Bytes

Contents

class Gem::Commands::<%= klass %>Command < Gem::Command
  def initialize
    super("<%= name %>", "Add a description here")
  end

  def execute
    # here goes the code that will be executed
    # when someone runs "gem <%= name %>"
    say "It works!"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubygems_plugin_generator-0.2.0 lib/rubygems_plugin_generator/templates/command.tt