Class: Stepper::Array

Inherits:
Base
  • Object
show all
Defined in:
lib/hash_walker/stepper/array.rb

Instance Attribute Summary

Attributes inherited from Base

#block, #hash_fragment

Instance Method Summary collapse

Instance Method Details

#step!Object



3
4
5
6
7
8
# File 'lib/hash_walker/stepper/array.rb', line 3

def step!
  @hash_fragment.map do |entry|
    walker = HashWalker::Walker.new(:hash => entry, :block => @block)
    walker.walk!
  end
end