Sha256: 2c4c3bb61fda14ab104787369da458fb00e0a62d3bd8ff03601b30918e0905ba

Contents?: true

Size: 240 Bytes

Versions: 2

Compression:

Stored size: 240 Bytes

Contents

# encoding: utf-8
# frozen_string_literal: true

module Mixture
  module Types
    # Represents a nil type.  This has no coercions.
    class Nil < Object
      register
      options[:primitive] = ::NilClass
      as nil
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mixture-0.7.1 lib/mixture/types/nil.rb
mixture-0.7.0 lib/mixture/types/nil.rb