Class: SvnLog::CommandLine

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

Direct Known Subclasses

SVNx::LogCommand

Instance Attribute Summary

Attributes inherited from SVNx::Command

#output

Instance Method Summary collapse

Methods inherited from SVNx::Command

#execute

Constructor Details

#initialize(args) ⇒ CommandLine

Returns a new instance of CommandLine.



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

def initialize args
  @use_cache = args.use_cache
  super
end

Instance Method Details

#command_lineObject



32
33
34
35
# File 'lib/svnx/log/line.rb', line 32

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