Class: SVNx::CatCommand

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

Instance Attribute Summary

Attributes inherited from Command

#output

Instance Method Summary collapse

Methods inherited from Command

#execute

Constructor Details

#initialize(args) ⇒ CatCommand

Returns a new instance of CatCommand.



51
52
53
54
# File 'lib/svnx/cat/command.rb', line 51

def initialize args
  @use_cache = args.use_cache
  super
end

Instance Method Details

#command_lineObject



56
57
58
59
# File 'lib/svnx/cat/command.rb', line 56

def command_line
  cls = @use_cache ? CatCommandLineCaching : CatCommandLine
  cls.new @args
end