Method: ZK::Client::Unixisms#find
- Defined in:
- lib/zk/client/unixisms.rb
#find(*paths, &block) ⇒ Object
Acts in a similar way to ruby's Find class. Performs a depth-first traversal of every node under the given paths, and calls the given block with each path found. Like the ruby Find class, you can call Find.prune to avoid descending further into a given sub-tree
115 116 117 |
# File 'lib/zk/client/unixisms.rb', line 115 def find(*paths, &block) ZK::Find.find(self, *paths, &block) end |