lib/language_server/protocol/interface/command.rb in language_server-protocol-0.4.0 vs lib/language_server/protocol/interface/command.rb in language_server-protocol-0.5.0

- old
+ new

@@ -37,11 +37,15 @@ attributes.fetch(:arguments) 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