Class: ElVfs::Command::GetDescendants::Result

Inherits:
Result
  • Object
show all
Defined in:
lib/el_finder_api/el_vfs/command/get_descendants.rb

Instance Attribute Summary

Attributes inherited from Result

#arguments, #execute_command

Instance Method Summary collapse

Methods inherited from Model

#attributes=, #el_hash, #initialize, options, #to_el_hash

Constructor Details

This class inherits a constructor from ElVfs::Model

Instance Method Details

#treeObject



13
14
15
# File 'lib/el_finder_api/el_vfs/command/get_descendants.rb', line 13

def tree
  arguments.entry.descendants(:to_depth => 2)
end