Class: SVNx::LogCommand

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

Instance Attribute Summary

Attributes inherited from Command

#output

Instance Method Summary collapse

Methods inherited from Command

#execute

Constructor Details

#initialize(args) ⇒ LogCommand

Returns a new instance of LogCommand.



66
67
68
69
# File 'lib/svnx/log/command.rb', line 66

def initialize args
  @use_cache = args.use_cache
  super
end

Instance Method Details

#command_lineObject



71
72
73
74
# File 'lib/svnx/log/command.rb', line 71

def command_line
  cls = @use_cache ? LogCommandLineCaching : LogCommandLine
  cls.new @args
end