Class: SVNx::LogExec

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ LogExec

Returns a new instance of LogExec.



80
81
82
83
84
# File 'lib/svnx/log/command.rb', line 80

def initialize args
  cmd = LogCommand.new LogCommandArgs.new(args)
  entcls = args[:entries_class] || SVNx::Log::Entries
  @entries = entcls.new :xmllines => cmd.execute
end

Instance Attribute Details

#entriesObject (readonly)

Returns the value of attribute entries.



78
79
80
# File 'lib/svnx/log/command.rb', line 78

def entries
  @entries
end