Sha256: 9df2afc695909f364e54622e45cb309a8d9905df056567a0d1859cb7b185c582

Contents?: true

Size: 214 Bytes

Versions: 5

Compression:

Stored size: 214 Bytes

Contents

# Abstract type for the 'numeric' family

module Attributor
  class Numeric
    include Type

    def self.native_type
      raise NotImplementedError
    end

    def self.family
      'numeric'
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
attributor-5.4 lib/attributor/families/numeric.rb
attributor-5.3 lib/attributor/families/numeric.rb
attributor-5.2.1 lib/attributor/families/numeric.rb
attributor-5.2.0 lib/attributor/families/numeric.rb
attributor-5.1.0 lib/attributor/families/numeric.rb