Sha256: 7ff7afa8f8177e3ee2cde2eda8e5a652acdca177b8db4cd277decfa42ab980a9

Contents?: true

Size: 590 Bytes

Versions: 116

Compression:

Stored size: 590 Bytes

Contents

module LanguageServer
  module Protocol
    module Interface
      class DidChangeWatchedFilesParams
        def initialize(changes:)
          @attributes = {}

          @attributes[:changes] = changes

          @attributes.freeze
        end

        #
        # The actual file events.
        #
        # @return [FileEvent[]]
        def changes
          attributes.fetch(:changes)
        end

        attr_reader :attributes

        def to_hash
          attributes
        end

        def to_json(*args)
          to_hash.to_json(*args)
        end
      end
    end
  end
end

Version data entries

116 entries across 116 versions & 13 rubygems

Version Path
language_server-protocol-3.17.0.3 lib/language_server/protocol/interface/did_change_watched_files_params.rb
language_server-protocol-3.17.0.2 lib/language_server/protocol/interface/did_change_watched_files_params.rb
language_server-protocol-3.17.0.1 lib/language_server/protocol/interface/did_change_watched_files_params.rb
language_server-protocol-3.16.0.3 lib/language_server/protocol/interface/did_change_watched_files_params.rb
language_server-protocol-3.16.0.2 lib/language_server/protocol/interface/did_change_watched_files_params.rb
language_server-protocol-3.16.0.1 lib/language_server/protocol/interface/did_change_watched_files_params.rb
language_server-protocol-3.16.0.0 lib/language_server/protocol/interface/did_change_watched_files_params.rb
language_server-protocol-3.15.0.2 lib/language_server/protocol/interface/did_change_watched_files_params.rb
language_server-protocol-3.15.0.1 lib/language_server/protocol/interface/did_change_watched_files_params.rb
language_server-protocol-3.15.0.0 lib/language_server/protocol/interface/did_change_watched_files_params.rb
language_server-protocol-3.14.0.2 lib/language_server/protocol/interface/did_change_watched_files_params.rb
language_server-protocol-3.14.0.1 lib/language_server/protocol/interface/did_change_watched_files_params.rb
language_server-protocol-3.14.0.0 lib/language_server/protocol/interface/did_change_watched_files_params.rb
language_server-protocol-3.12.0.0 lib/language_server/protocol/interface/did_change_watched_files_params.rb
language_server-protocol-3.7.0.0 lib/language_server/protocol/interface/did_change_watched_files_params.rb
language_server-protocol-0.5.0 lib/language_server/protocol/interface/did_change_watched_files_params.rb