Class: SVNx::LogCommandLineCaching

Inherits:
CachingCommandLine show all
Defined in:
lib/svnx/log/command.rb

Instance Attribute Summary

Attributes inherited from System::CommandLine

#output

Instance Method Summary collapse

Methods inherited from CachingCommandLine

#uses_xml?

Methods inherited from System::CachingCommandLine

cache_dir, cache_dir=, #cache_file, #execute

Methods inherited from System::CommandLine

#<<, #execute, #to_command

Constructor Details

#initialize(args = Array.new) ⇒ LogCommandLineCaching

Returns a new instance of LogCommandLineCaching.



23
24
25
26
# File 'lib/svnx/log/command.rb', line 23

def initialize args = Array.new
  info "args: #{args}"
  super "log", args.to_a
end

Instance Method Details

#cache_dirObject



28
29
30
# File 'lib/svnx/log/command.rb', line 28

def cache_dir
  ENV[TMP_DIR_ENV_VARNAME] || DEFAULT_CACHE_DIR
end