713 714 715 716 717 718
# File 'lib/rbkb/extends.rb', line 713 def each_recursive(&block) self.each do |n| block.call(n) n.each_recursive(&block) if n.kind_of? Array or n.kind_of? Hash end end