Method: Neovim::WriteBuf#initialize

Defined in:
lib/neovim/output.rb

#initialize(*args, whole: nil, top: nil) ⇒ WriteBuf

Returns a new instance of WriteBuf.



113
114
115
116
117
# File 'lib/neovim/output.rb', line 113

def initialize *args, whole: nil, top: nil
  super
  @lines, @last = [], ""
  @whole, @top = whole, top
end