Class: ParamsReady::Marshaller::TupleMarshallers
- Inherits:
-
Object
- Object
- ParamsReady::Marshaller::TupleMarshallers
- Defined in:
- lib/params_ready/marshaller/tuple_marshallers.rb
Defined Under Namespace
Modules: AbstractMarshaller, ArrayMarshaller, StructMarshaller Classes: StringMarshaller
Class Method Summary collapse
Class Method Details
.collection ⇒ Object
91 92 93 94 95 96 97 98 99 100 |
# File 'lib/params_ready/marshaller/tuple_marshallers.rb', line 91 def self.collection @collection ||= begin c = ClassCollection.new Array c.add_instance Array, ArrayMarshaller c.add_instance Hash, StructMarshaller c.add_factory :string, StringMarshaller c.freeze c end end |