Class: SVNx::LogCommandLineCaching
- Inherits:
-
CachingCommandLine
- Object
- System::CommandLine
- System::CachingCommandLine
- CachingCommandLine
- SVNx::LogCommandLineCaching
- Defined in:
- lib/svnx/log/command.rb
Instance Attribute Summary
Attributes inherited from System::CommandLine
Instance Method Summary collapse
- #cache_dir ⇒ Object
-
#initialize(args = Array.new) ⇒ LogCommandLineCaching
constructor
A new instance of LogCommandLineCaching.
Methods inherited from CachingCommandLine
Methods inherited from System::CachingCommandLine
cache_dir, cache_dir=, #cache_file, #execute
Methods inherited from System::CommandLine
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_dir ⇒ Object
28 29 30 |
# File 'lib/svnx/log/command.rb', line 28 def cache_dir ENV[TMP_DIR_ENV_VARNAME] || DEFAULT_CACHE_DIR end |