Method: Pipetree::Collect::Hash#call

Defined in:
lib/pipetree.rb

#call(input, options) ⇒ Object



47
48
49
50
51
52
# File 'lib/pipetree.rb', line 47

def call(input, options)
  {}.tap do |hsh|
    input.each { |key, item_fragment|
      hsh[key] = super(item_fragment, options) }# DISCUSS: NO :fragment set.
  end
end