Sha256: 2487c588dfdad3630a32269ef4eb867021fb9104ab78fb47e8e2e0ebf6c19b32
Contents?: true
Size: 332 Bytes
Versions: 104
Compression:
Stored size: 332 Bytes
Contents
module Standard module Lsp class Logger def initialize @puts_onces = [] end def puts(message) warn("[server] #{message}") end def puts_once(message) return if @puts_onces.include?(message) @puts_onces << message puts(message) end end end end
Version data entries
104 entries across 104 versions & 3 rubygems