Method: Xhive::LiquidWrapper.liquify_objects

Defined in:
lib/xhive/liquid_wrapper.rb

.liquify_objects(objects) ⇒ Object

Public: builds wrapper around each collection object.

objects - The Hash containing the objects.

Returns: the objects hash with the objects wrappers.



22
23
24
25
26
# File 'lib/xhive/liquid_wrapper.rb', line 22

def self.liquify_objects(objects)
  objects.each do |k, v|
    objects[k] = liquify(v)
  end
end