Class: SVNx::InfoExec

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ InfoExec

Returns a new instance of InfoExec.



47
48
49
50
51
# File 'lib/svnx/info/command.rb', line 47

def initialize args
  cmd = InfoCommand.new InfoCommandArgs.new(args)
  # info has only one entry
  @entry = SVNx::Info::Entries.new(:xmllines => cmd.execute)[0]
end

Instance Attribute Details

#entryObject (readonly)

Returns the value of attribute entry.



45
46
47
# File 'lib/svnx/info/command.rb', line 45

def entry
  @entry
end