Sha256: 895fa9a775c9a36346fe4f4bd2899ed1b35147e787d909f851911126f902cf71

Contents?: true

Size: 316 Bytes

Versions: 3

Compression:

Stored size: 316 Bytes

Contents

class Gem::Commands::ManpagesCommand < Gem::Command
  def initialize
    super("manpages", "Add a description here")
  end

  def execute
    # TODO: Add command to install
    #   to rbenv and rvm


    # here goes the code that will be executed
    # when someone runs "gem manpages"
    say "It works!"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
manpages-0.2.1 lib/rubygems/commands/manpages_command.rb
manpages-0.2.0 lib/rubygems/commands/manpages_command.rb
manpages-0.1.0 lib/rubygems/commands/manpages_command.rb