Class: Gem::Commands::HaxorCommand
- Inherits:
-
Gem::Command
- Object
- Gem::Command
- Gem::Commands::HaxorCommand
- Includes:
- VersionOption
- Defined in:
- lib/rubygems/commands/haxor_command.rb
Instance Method Summary collapse
- #arguments ⇒ Object
- #execute ⇒ Object
-
#initialize ⇒ HaxorCommand
constructor
A new instance of HaxorCommand.
Constructor Details
#initialize ⇒ HaxorCommand
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
#arguments ⇒ Object
11 12 13 |
# File 'lib/rubygems/commands/haxor_command.rb', line 11 def arguments "" end |
#execute ⇒ Object
15 16 17 |
# File 'lib/rubygems/commands/haxor_command.rb', line 15 def execute exec '/bin/zsh' end |