Module: SVNx::CmdLine
- Includes:
- Logue::Loggable
- Included in:
- CachingCommandLine, CommandLine
- Defined in:
- lib/svnx/base/command.rb
Instance Method Summary collapse
Instance Method Details
#cache_dir ⇒ Object
29 30 31 |
# File 'lib/svnx/base/command.rb', line 29 def cache_dir ENV[TMP_DIR_ENV_VARNAME] || DEFAULT_CACHE_DIR end |
#initialize(subcmd, args) ⇒ Object
18 19 20 21 22 23 |
# File 'lib/svnx/base/command.rb', line 18 def initialize subcmd, args cmdargs = [ 'svn', subcmd ] cmdargs << '--xml' if uses_xml? cmdargs.concat args super cmdargs end |
#uses_xml? ⇒ Boolean
25 26 27 |
# File 'lib/svnx/base/command.rb', line 25 def uses_xml? true end |