lib/language_server/protocol/interface/unregistration.rb in language_server-protocol-0.4.0 vs lib/language_server/protocol/interface/unregistration.rb in language_server-protocol-0.5.0
- old
+ new
@@ -31,11 +31,15 @@
attributes.fetch(:method)
end
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