Method: Etcd::Node#children

Defined in:
lib/etcd/node.rb

#childrenObject



33
34
35
36
37
38
39
# File 'lib/etcd/node.rb', line 33

def children
  if directory?
    @children ||= []
  else
    fail 'This is not a directory, cant have children'
  end
end