Top Level Namespace
Defined Under Namespace
Modules: P4Tools
Constant Summary collapse
- ROOT =
The absolute path of the main script(p4_tools.rb)
File.('..', File.dirname(__FILE__))
- COMMANDS_ROOT =
The absolute path of the folder which contains the command files
ROOT + '/commands'
- CUSTOM_COMMANDS_ROOT =
The absolute path of the folder which contains the custom command files
COMMANDS_ROOT + '/custom'
- CONFIG_ROOT =
The absolute path of the folder which contains the configuration files
ROOT + '/config'
- SUB_COMMANDS =
Array of command names, read from the COMMAND_ROOT folder
Dir[COMMANDS_ROOT + '/*.rb'].collect { |file| File.basename(file, '.rb') }
Instance Method Summary collapse
-
#date ⇒ Object
- lib/trollop.rb – trollop command-line processing library Author
- William Morgan (mailto: [email protected]) Copyright
- Copyright 2007 William Morgan License
-
the same terms as ruby itself.
Instance Method Details
#date ⇒ Object
lib/trollop.rb – trollop command-line processing library
- Author
-
William Morgan (mailto: [email protected])
- Copyright
-
Copyright 2007 William Morgan
- License
-
the same terms as ruby itself
6 |
# File 'lib/p4tools/parsers/trollop_custom.rb', line 6 require 'date' |