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
Instance Method Summary collapse
-
#initialize(cmdopts, cmdlinecls: Svnx::Base::CommandLine) ⇒ Command
constructor
A new instance of Command.
Methods inherited from Base::Command
caching, noncaching, #options_class, #read_options, #subcommand, #xml?
Constructor Details
#initialize(cmdopts, cmdlinecls: 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, cmdlinecls: Svnx::Base::CommandLine super cmdopts, cmdlinecls: cmdlinecls, 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 |