Sha256: 606136606a14ee15976fa4e582eb5501b59c8c44fc9854a38ed6dd4320292b03
Contents?: true
Size: 714 Bytes
Versions: 4
Compression:
Stored size: 714 Bytes
Contents
module LanguageServer module Protocol module Interface # # Rename options # class RenameOptions def initialize(prepare_provider: nil) @attributes = {} @attributes[:prepareProvider] = prepare_provider if prepare_provider @attributes.freeze 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
4 entries across 4 versions & 1 rubygems