Sha256: b8fdf3724cd37e119e2e0bc81e426641a5c25c06781e93d4464fb0f27f6f3fc8

Contents?: true

Size: 182 Bytes

Versions: 5

Compression:

Stored size: 182 Bytes

Contents

# frozen_string_literal: true

module Attribeauty
  module Types
    # custom integer type
    class Integer
      def cast(value)
        Integer(value)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
attribeauty-0.3.2 lib/attribeauty/types/integer.rb
attribeauty-0.3.1 lib/attribeauty/types/integer.rb
attribeauty-0.3.0 lib/attribeauty/types/integer.rb
attribeauty-0.2.0 lib/attribeauty/types/integer.rb
attribeauty-0.1.0 lib/attribeauty/types/integer.rb