class LanguageServer::Protocol::Interface::DidChangeWatchedFilesParams

Attributes

attributes[R]

Public Class Methods

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

  @attributes[:changes] = changes

  @attributes.freeze
end

Public Instance Methods

changes() click to toggle source

The actual file events.

@return [FileEvent

# File lib/language_server/protocol/interface/did_change_watched_files_params.rb, line 17
def changes
  attributes.fetch(:changes)
end
to_hash() click to toggle source
# File lib/language_server/protocol/interface/did_change_watched_files_params.rb, line 23
def to_hash
  attributes
end
to_json(*args) click to toggle source
# File lib/language_server/protocol/interface/did_change_watched_files_params.rb, line 27
def to_json(*args)
  to_hash.to_json(*args)
end