Sha256: dabf8c9558564c47cc5f4e7a731be2eb54ef7da3f81ff373dadf2547e97e9630
Contents?: true
Size: 183 Bytes
Versions: 12
Compression:
Stored size: 183 Bytes
Contents
GraphQL::FLOAT_TYPE = GraphQL::ScalarType.define do name "Float" coerce_input -> (value) { value.is_a?(Numeric) ? value.to_f : nil } coerce_result -> (value) { value.to_f } end
Version data entries
12 entries across 12 versions & 1 rubygems