Sha256: fc0ec6f8d436c9491bbd064ce9c229a23aa11e2d4a0ba1d2e4190e8441638eac

Contents?: true

Size: 493 Bytes

Versions: 6

Compression:

Stored size: 493 Bytes

Contents

require 'dry/core/deprecations'

Dry::Core::Deprecations.warn('Int type was renamed to Integer', tag: :'dry-types')

module Dry
  module Types
    register('int', self['integer'])
    register('strict.int', self['strict.integer'])
    register('coercible.int', self['coercible.integer'])
    register('optional.strict.int', self['optional.strict.integer'])
    register('optional.coercible.int', self['optional.coercible.integer'])
    register('params.int', self['params.integer'])
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dry-types-0.14.1 lib/dry/types/compat/int.rb
dry-types-0.14.0 lib/dry/types/compat/int.rb
dry-types-0.13.4 lib/dry/types/compat/int.rb
dry-types-0.13.3 lib/dry/types/compat/int.rb
dry-types-0.13.2 lib/dry/types/compat/int.rb
dry-types-0.13.1 lib/dry/types/compat/int.rb