Class: RubyLsp::Rails::IOWrapper

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/ruby_lsp/ruby_lsp_rails/server.rb

Instance Method Summary collapse

Instance Method Details

: (*untyped) -> void



244
245
246
# File 'lib/ruby_lsp/ruby_lsp_rails/server.rb', line 244

def print(*args)
  args.each { |arg| log(arg.to_s) }
end

#puts(*args) ⇒ Object

: (*untyped) -> void



239
240
241
# File 'lib/ruby_lsp/ruby_lsp_rails/server.rb', line 239

def puts(*args)
  args.each { |arg| log("#{arg}\n") }
end