Sha256: 4231ec852895476b956bc68cabfe9aa4a054f17567eee43e3d5b26e4343c339a

Contents?: true

Size: 511 Bytes

Versions: 4

Compression:

Stored size: 511 Bytes

Contents

module LanguageServer
  module Protocol
    module Interface
      class ReferenceRegistrationOptions < ReferenceOptions
        def initialize(work_done_progress: nil)
          @attributes = {}

          @attributes[:workDoneProgress] = work_done_progress if work_done_progress

          @attributes.freeze
        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

4 entries across 4 versions & 1 rubygems

Version Path
language_server-protocol-3.16.0.0 lib/language_server/protocol/interface/reference_registration_options.rb
language_server-protocol-3.15.0.2 lib/language_server/protocol/interface/reference_registration_options.rb
language_server-protocol-3.15.0.1 lib/language_server/protocol/interface/reference_registration_options.rb
language_server-protocol-3.15.0.0 lib/language_server/protocol/interface/reference_registration_options.rb