lib/graphql/language/token.rb in graphql-1.10.0.pre1 vs lib/graphql/language/token.rb in graphql-1.10.0.pre2
- old
+ new
@@ -12,10 +12,10 @@
attr_reader :name
# @return [String] The text of this token
attr_reader :value
attr_reader :prev_token, :line, :col
- def initialize(value:, name:, line:, col:, prev_token:)
+ def initialize(name, value, line, col, prev_token)
@name = name
@value = -value
@line = line
@col = col
@prev_token = prev_token