Sha256: 80a71f8b3b30969440a4c024fa365a9651cbc7da31768576aa032386788f9d56

Contents?: true

Size: 233 Bytes

Versions: 2

Compression:

Stored size: 233 Bytes

Contents

module GoldenFleece
  class Context
    module Schemas
      def define_schemas(attribute, schema_definitions = {})
        schemas[attribute.to_sym] ||= schema_definitions
        attributes << attribute
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
golden_fleece-0.1.1 lib/golden_fleece/context/schemas.rb
golden_fleece-0.1.0 lib/golden_fleece/context/schemas.rb