class LanguageServer::Protocol::Interface::DidChangeWorkspaceFoldersParams
Attributes
attributes[R]
Public Class Methods
new(event:)
click to toggle source
# File lib/language_server/protocol/interface/did_change_workspace_folders_params.rb, line 5 def initialize(event:) @attributes = {} @attributes[:event] = event @attributes.freeze end
Public Instance Methods
event()
click to toggle source
The actual workspace folder change event.
@return [WorkspaceFoldersChangeEvent]
# File lib/language_server/protocol/interface/did_change_workspace_folders_params.rb, line 17 def event attributes.fetch(:event) end
to_hash()
click to toggle source
# File lib/language_server/protocol/interface/did_change_workspace_folders_params.rb, line 23 def to_hash attributes end
to_json(*args)
click to toggle source
# File lib/language_server/protocol/interface/did_change_workspace_folders_params.rb, line 27 def to_json(*args) to_hash.to_json(*args) end