Sha256: 860097238195481d53a0b27a051cc4590dce176f7be8953afeb5a747ee2f439e

Contents?: true

Size: 291 Bytes

Versions: 1

Compression:

Stored size: 291 Bytes

Contents

class GraphQL::TypeDefiner
  include Singleton

  def Int;      GraphQL::INT_TYPE;      end
  def String;   GraphQL::STRING_TYPE;   end
  def Float;    GraphQL::FLOAT_TYPE;    end
  def Boolean;  GraphQL::BOOLEAN_TYPE;  end

  def [](type)
    GraphQL::ListType.new(of_type: type)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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