Class: Representable::Collect::Hash
- Defined in:
- lib/representable/pipeline.rb
Constant Summary
Constants inherited from Pipeline
Pipeline::Insert, Pipeline::Stop
Instance Method Summary collapse
Methods included from Pipeline::Macros
Instance Method Details
#call(input, options) ⇒ Object
47 48 49 50 51 52 |
# File 'lib/representable/pipeline.rb', line 47 def call(input, ) {}.tap do |hsh| input.each { |key, item_fragment| hsh[key] = super(item_fragment, ) }# DISCUSS: NO :fragment set. end end |