Sha256: 506aa0fee33a7f392ecea170f2e8c0af964afc00a8531a53f7ae10e619f7fe36
Contents?: true
Size: 303 Bytes
Versions: 2
Compression:
Stored size: 303 Bytes
Contents
module IMW class Metadata # Represents a schema for data. # # FIXME add methods that help couple nicely with Avro schemata. class Schema < Hash def initialize obj=nil super() merge!(obj) if obj.is_a?(Hash) || obj.is_a?(Schema) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
imw-0.2.18 | lib/imw/metadata/schema.rb |
imw-0.2.17 | lib/imw/metadata/schema.rb |