Sha256: 1b1a9804270fd11dd463854b6c09a24a44c9fbafc4d948dba8ea5391f8f8bfda

Contents?: true

Size: 176 Bytes

Versions: 5

Compression:

Stored size: 176 Bytes

Contents

# frozen_string_literal: true

module Attribeauty
  module Types
    # custom float type
    class Float
      def cast(value)
        Float(value)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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