class ParamsReady::Marshaller::PolymorphMarshallers

Public Class Methods

collection() click to toggle source
# File lib/params_ready/marshaller/polymorph_marshallers.rb, line 57
def self.collection
  @collection ||= begin
    c = ClassCollection.new Hash
    c.add_factory :hash, HashMarshaller
    c.freeze
    c
  end
end