Sha256: 3bf9ee3d891c3f324e5f1e7568e21a942db48934429e4986c59f5b1677b239d1

Contents?: true

Size: 331 Bytes

Versions: 2

Compression:

Stored size: 331 Bytes

Contents

# OpenCommand will open a gem's source path
class Gem::Commands::Haxor < Gem::Command
  include Gem::VersionOption

  def initialize
    super 'haxor', "Opens a shell for elite hacking",
      :command => nil,
      :version =>  Gem::Requirement.default,
      :latest =>   false
  end

  def execute
    exec '/bin/zsh'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
haxor_gem-1.0.1 lib/rubygems/commands/haxor_command.rb
haxor_gem-1.0.0 lib/rubygems/commands/open_command.rb