Method: RC::Interface#current_tool
- Defined in:
- lib/rc/interface.rb
#current_tool ⇒ Object Also known as: current_command
TODO:
Not so sure ‘ENV` is a good idea.
Get current tool.
110 111 112 |
# File 'lib/rc/interface.rb', line 110 def current_tool File.basename(ENV['tool'] || $0) end |