Class: SVNx::InfoExec
- Inherits:
-
Object
- Object
- SVNx::InfoExec
- Defined in:
- lib/svnx/info/command.rb
Instance Attribute Summary collapse
-
#entry ⇒ Object
readonly
Returns the value of attribute entry.
Instance Method Summary collapse
-
#initialize(args) ⇒ InfoExec
constructor
A new instance of InfoExec.
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
#entry ⇒ Object (readonly)
Returns the value of attribute entry.
45 46 47 |
# File 'lib/svnx/info/command.rb', line 45 def entry @entry end |