Sha256: 877e417369efc910c2c242cb9cce8bc01a48ceab9958390e8ea35ee78d037ecb
Contents?: true
Size: 823 Bytes
Versions: 106
Compression:
Stored size: 823 Bytes
Contents
module LanguageServer module Protocol module Interface class InitializeError def initialize(retry:) @attributes = {} @attributes[:retry] = binding.local_variable_get(:retry) @attributes.freeze end # # Indicates whether the client execute the following retry logic: # (1) show the message provided by the ResponseError to the user # (2) user selects retry or cancel # (3) if user selected retry the initialize method is sent again. # # @return [boolean] def retry attributes.fetch(:retry) 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 & 15 rubygems