Sha256: 633bb217a8adf7757ec382c1c49fddac3ffb79f5433bc0a31bed7b532ef5b0f0

Contents?: true

Size: 364 Bytes

Versions: 8

Compression:

Stored size: 364 Bytes

Contents

require 'golden_fleece/type'

module GoldenFleece
  module Definitions
    TYPES = {
      array: Type.new(:array, Array),
      boolean: Type.new(:boolean, FalseClass, TrueClass),
      null: Type.new(:null, NilClass),
      number: Type.new(:number, Numeric),
      object: Type.new(:object, Hash),
      string: Type.new(:string, String)
    }.freeze
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
golden_fleece-1.0.1 lib/golden_fleece/definitions.rb
golden_fleece-1.0.0 lib/golden_fleece/definitions.rb
golden_fleece-0.1.5 lib/golden_fleece/definitions.rb
golden_fleece-0.1.4 lib/golden_fleece/definitions.rb
golden_fleece-0.1.3 lib/golden_fleece/definitions.rb
golden_fleece-0.1.2 lib/golden_fleece/definitions.rb
golden_fleece-0.1.1 lib/golden_fleece/definitions.rb
golden_fleece-0.1.0 lib/golden_fleece/definitions.rb