Class: Gem::CommandManager
- Inherits:
-
Object
- Object
- Gem::CommandManager
- Defined in:
- lib/minigems/script_helper.rb
Instance Attribute Summary collapse
-
#cmd ⇒ Object
Returns the value of attribute cmd.
Instance Method Summary collapse
Instance Attribute Details
#cmd ⇒ Object
Returns the value of attribute cmd.
37 38 39 |
# File 'lib/minigems/script_helper.rb', line 37 def cmd @cmd end |
Instance Method Details
#find_command(cmd_name) ⇒ Object
39 40 41 42 |
# File 'lib/minigems/script_helper.rb', line 39 def find_command(cmd_name) self.cmd = original_find_command(cmd_name) self.cmd end |
#original_find_command ⇒ Object
38 |
# File 'lib/minigems/script_helper.rb', line 38 alias :original_find_command :find_command |