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
31 32 33 |
# File 'lib/svnx/base/command.rb', line 31 def cache_dir ENV[TMP_DIR_ENV_VARNAME] || DEFAULT_CACHE_DIR end |
#initialize(subcmd, args) ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/svnx/base/command.rb', line 17 def initialize subcmd, args # info "args: #{args}" cmdargs = [ 'svn', subcmd ] cmdargs << '--xml' if uses_xml? # info "cmdargs: #{cmdargs}" cmdargs.concat args # info "cmdargs: #{cmdargs}" super cmdargs end |
#uses_xml? ⇒ Boolean
27 28 29 |
# File 'lib/svnx/base/command.rb', line 27 def uses_xml? true end |