Sha256: d9589efe3283b8d46a7cfe7766db451c717e4b57d357a6c5ebd6e92af58737aa

Contents?: true

Size: 117 Bytes

Versions: 1

Compression:

Stored size: 117 Bytes

Contents

GraphQL::FLOAT_TYPE = GraphQL::ScalarType.new do |t|
  t.name "Float"
  def t.coerce(value)
    value.to_f
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
graphql-0.2.0 lib/graph_ql/types/float_type.rb