Sha256: 684344cd910d7e3e1887b918439f91e02c0dbf825d3fd4405922f1d8be09cf55
Contents?: true
Size: 902 Bytes
Versions: 106
Compression:
Stored size: 902 Bytes
Contents
module LanguageServer module Protocol module Interface class RenameOptions def initialize(work_done_progress: nil, prepare_provider: nil) @attributes = {} @attributes[:workDoneProgress] = work_done_progress if work_done_progress @attributes[:prepareProvider] = prepare_provider if prepare_provider @attributes.freeze end # @return [boolean] def work_done_progress attributes.fetch(:workDoneProgress) end # # Renames should be checked and tested 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
106 entries across 106 versions & 13 rubygems