Class: RVC::RootNode

Inherits:
Object
  • Object
show all
Includes:
InventoryObject
Defined in:
lib/rvc/inventory.rb

Instance Attribute Summary

Attributes included from InventoryObject

#rvc_arc, #rvc_parent

Class Method Summary collapse

Instance Method Summary collapse

Methods included from InventoryObject

#display_info, included, #ls_text, #rvc_link, #rvc_path, #rvc_path_str, #traverse_one

Class Method Details

.folder?Boolean

Returns:

  • (Boolean)


111
112
113
# File 'lib/rvc/inventory.rb', line 111

def self.folder?
  true
end

Instance Method Details

#childrenObject



107
108
109
# File 'lib/rvc/inventory.rb', line 107

def children
  $shell.connections
end

#pretty_print(pp) ⇒ Object



115
116
117
# File 'lib/rvc/inventory.rb', line 115

def pretty_print pp
  pp.text "Root"
end