scripts/generateFiles.ts in language_server-protocol-0.4.0 vs scripts/generateFiles.ts in language_server-protocol-0.5.0
- old
+ new
@@ -175,11 +175,15 @@
end
{{/each}}
attr_reader :attributes
+ def to_hash
+ attributes
+ end
+
def to_json(*args)
- attributes.to_json(*args)
+ to_hash.to_json(*args)
end
end
end
end
end