Sha256: 38787a7b9d5e848aadcd933f6dc6675aaffc100cde0bec994a362c6af879479d
Contents?: true
Size: 656 Bytes
Versions: 117
Compression:
Stored size: 656 Bytes
Contents
module LanguageServer module Protocol module Interface class ReferenceContext def initialize(include_declaration:) @attributes = {} @attributes[:includeDeclaration] = include_declaration @attributes.freeze end # # Include the declaration of the current symbol. # # @return [boolean] def include_declaration attributes.fetch(:includeDeclaration) 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
117 entries across 117 versions & 13 rubygems