class Representable::Collect::Hash

Public Instance Methods

call(input, options) click to toggle source
Calls superclass method Representable::Pipeline#call
# File lib/representable/pipeline.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