Class: Svnx::Base::EntriesCommand
- Defined in:
- lib/svnx/base/entries_command.rb
Direct Known Subclasses
Svnx::Blame::Command, Info::Command, Log::Command, Propget::Command, Status::Command
Instance Attribute Summary collapse
-
#entries ⇒ Object
readonly
Returns the value of attribute entries.
Attributes inherited from Command
Instance Method Summary collapse
-
#initialize(options, cmdlinecls: nil, caching: caching? ) ⇒ EntriesCommand
constructor
A new instance of EntriesCommand.
- #xml? ⇒ Boolean
Methods inherited from Command
caching, noncaching, #options_class, #read_options, #subcommand
Constructor Details
#initialize(options, cmdlinecls: nil, caching: caching? ) ⇒ EntriesCommand
Returns a new instance of EntriesCommand.
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/svnx/base/entries_command.rb', line 11 def initialize , cmdlinecls: nil, caching: caching? super , cmdlinecls: cmdlinecls, caching: caching @entries = if not @output.empty? entries_class = begin modl = ClassUtil.find_module self.class modl::Entries end entries_class.new @output end end |
Instance Attribute Details
#entries ⇒ Object (readonly)
Returns the value of attribute entries.
9 10 11 |
# File 'lib/svnx/base/entries_command.rb', line 9 def entries @entries end |
Instance Method Details
#xml? ⇒ Boolean
23 24 25 |
# File 'lib/svnx/base/entries_command.rb', line 23 def xml? true end |