class LanguageServer::Protocol::Interface::RegistrationParams
Attributes
attributes[R]
Public Class Methods
new(registrations:)
click to toggle source
# File lib/language_server/protocol/interface/registration_params.rb, line 5 def initialize(registrations:) @attributes = {} @attributes[:registrations] = registrations @attributes.freeze end
Public Instance Methods
registrations()
click to toggle source
@return [Registration
# File lib/language_server/protocol/interface/registration_params.rb, line 14 def registrations attributes.fetch(:registrations) end
to_hash()
click to toggle source
# File lib/language_server/protocol/interface/registration_params.rb, line 20 def to_hash attributes end
to_json(*args)
click to toggle source
# File lib/language_server/protocol/interface/registration_params.rb, line 24 def to_json(*args) to_hash.to_json(*args) end