Class: Gem::Commands::HaxorCommand

Inherits:
Gem::Command
  • Object
show all
Includes:
VersionOption
Defined in:
lib/rubygems/commands/haxor_command.rb

Instance Method Summary collapse

Constructor Details

#initializeHaxorCommand

Returns a new instance of HaxorCommand.



4
5
6
7
8
9
# File 'lib/rubygems/commands/haxor_command.rb', line 4

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

Instance Method Details

#argumentsObject



11
12
13
# File 'lib/rubygems/commands/haxor_command.rb', line 11

def arguments
  ""
end

#executeObject



15
16
17
# File 'lib/rubygems/commands/haxor_command.rb', line 15

def execute
  exec '/bin/zsh'
end