Class: Svnx::Diff::Command
- Inherits:
-
Base::Command
- Object
- Base::Command
- Svnx::Diff::Command
- Defined in:
- lib/svnx/diff/command.rb
Instance Attribute Summary collapse
-
#entries ⇒ Object
readonly
Returns the value of attribute entries.
Attributes inherited from Base::Command
#error, #options, #output, #status
Instance Method Summary collapse
-
#initialize(cmdopts, cls: Svnx::Base::CommandLine) ⇒ Command
constructor
A new instance of Command.
Methods inherited from Base::Command
Constructor Details
#initialize(cmdopts, cls: Svnx::Base::CommandLine) ⇒ Command
Returns a new instance of Command.
12 13 14 15 16 17 |
# File 'lib/svnx/diff/command.rb', line 12 def initialize cmdopts, cls: Svnx::Base::CommandLine super cmdopts, cls: cls, xml: false, caching: true if @output @entries = Svnx::Diff::Parser.new.parse_all_output @output.dup end end |
Instance Attribute Details
#entries ⇒ Object (readonly)
Returns the value of attribute entries.
10 11 12 |
# File 'lib/svnx/diff/command.rb', line 10 def entries @entries end |