Sha256: e34cf5f8f1492861413633910045501270fa388e49f6aa367e6d12c2d6abbd75
Contents?: true
Size: 354 Bytes
Versions: 10
Compression:
Stored size: 354 Bytes
Contents
module Reform module Schema def schema(options={}) require "disposable/twin/schema" Disposable::Twin::Schema.from(self, { superclass: Representable::Decorator, representer_from: lambda { |nested| nested.representer_class } }.merge(options) # TODO: options not tested. ) end end end
Version data entries
10 entries across 10 versions & 1 rubygems