Class: Neovim::WriteOut
- Defined in:
- lib/neovim/ruby_provider.rb
Instance Method Summary collapse
Methods inherited from WriteStd
Methods inherited from Write
#flush, #initialize, open, #print, #puts
Constructor Details
This class inherits a constructor from Neovim::Write
Instance Method Details
#finish ⇒ Object
104 105 106 107 108 109 |
# File 'lib/neovim/ruby_provider.rb', line 104 def finish if @line_open then @client.out_write $/ @line_open = nil end end |
#write(*args) ⇒ Object
96 97 98 99 100 101 102 103 |
# File 'lib/neovim/ruby_provider.rb', line 96 def write *args args.each { |a| a.notempty? or next @client.out_write a @line_open = !(a.end_with? $/) } nil end |