Commit 9214f11d authored by Mehmet Emin INAC's avatar Mehmet Emin INAC Committed by Ash McKenzie

Apply 1 suggestion(s) to 1 file(s)

parent dd369803
......@@ -21,7 +21,7 @@ module Types
graphql_name(enum_mod.name) if use_name
description(enum_mod.description) if use_description
enum_mod.definition.each { |enum_key, enum_content| value enum_key.to_s.upcase, enum_content }
enum_mod.definition.each { |key, content| value(key.to_s.upcase, content) }
end
def value(*args, **kwargs, &block)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment