Sha256: 48dcdc406b335abc95f7103a931583e69eebd1a04ee5a6ead66d5ced9768c5ac
Contents?: true
Size: 754 Bytes
Versions: 3
Compression:
Stored size: 754 Bytes
Contents
module LanguageServer module Protocol module Interface class RenameRegistrationOptions < TextDocumentRegistrationOptions def initialize(document_selector:, prepare_provider: nil) @attributes = {} @attributes[:prepareProvider] = prepare_provider if prepare_provider @attributes.freeze end # # Renames should be checked and tested for validity before being executed. # # @return [boolean] def prepare_provider attributes.fetch(:prepareProvider) 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
3 entries across 3 versions & 1 rubygems