class LanguageServer::Protocol::Interface::UnregistrationParams

Attributes

attributes[R]

Public Class Methods

new(unregisterations:) click to toggle source
# File lib/language_server/protocol/interface/unregistration_params.rb, line 5
def initialize(unregisterations:)
  @attributes = {}

  @attributes[:unregisterations] = unregisterations

  @attributes.freeze
end

Public Instance Methods

to_hash() click to toggle source
# File lib/language_server/protocol/interface/unregistration_params.rb, line 20
def to_hash
  attributes
end
to_json(*args) click to toggle source
# File lib/language_server/protocol/interface/unregistration_params.rb, line 24
def to_json(*args)
  to_hash.to_json(*args)
end
unregisterations() click to toggle source

@return [Unregistration

# File lib/language_server/protocol/interface/unregistration_params.rb, line 14
def unregisterations
  attributes.fetch(:unregisterations)
end