Module: HashWalker

Defined in:
lib/hash_walker.rb,
lib/hash_walker/walk.rb,
lib/hash_walker/walker.rb,
lib/hash_walker/version.rb

Defined Under Namespace

Classes: Walker

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.walk(hash, &blocky) ⇒ Object



3
4
5
6
# File 'lib/hash_walker/walk.rb', line 3

def self.walk(hash,&blocky)
  walker = HashWalker::Walker.new(:hash => hash, :block => blocky)
  walker.walk!
end