class RubyLsp::Notification Public Class Methods window_show_error(message) Show source # File lib/ruby_lsp/utils.rb, line 56 def window_show_error(message) new( method: "window/showMessage", params: Interface::ShowMessageParams.new( type: Constant::MessageType::ERROR, message: message, ), ) end Public Instance Methods to_hash() Show source # File lib/ruby_lsp/utils.rb, line 70 def to_hash { method: @method, params: T.unsafe(@params).to_hash } end