lib/graphql/language/token.rb in graphql-1.9.5 vs lib/graphql/language/token.rb in graphql-1.9.6

- old
+ new

@@ -2,9 +2,13 @@ module GraphQL module Language # Emitted by the lexer and passed to the parser. # Contains type, value and position data. class Token + if !String.method_defined?(:-@) + using GraphQL::StringDedupBackport + end + # @return [Symbol] The kind of token this is attr_reader :name # @return [String] The text of this token attr_reader :value attr_reader :prev_token, :line, :col