Sha256: cc3cd970155996a287c1d7cdd74e153028e7edd406c64838c316ff4e390b3544
Contents?: true
Size: 640 Bytes
Versions: 6
Compression:
Stored size: 640 Bytes
Contents
module LanguageServer module Protocol module Interface # # The parameters of a Workspace Symbol Request. # class WorkspaceSymbolParams def initialize(query:) @attributes = {} @attributes[:query] = query @attributes.freeze end # # A non-empty query string # # @return [string] def query attributes.fetch(:query) 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
6 entries across 6 versions & 1 rubygems