Class: Solargraph::LanguageServer::Transport::Stdio
- Inherits:
-
Object
- Object
- Solargraph::LanguageServer::Transport::Stdio
- Defined in:
- lib/solargraph/language_server/transport/stdio.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Stdio
constructor
A new instance of Stdio.
- #run ⇒ Object
Constructor Details
#initialize ⇒ Stdio
Returns a new instance of Stdio.
7 8 9 10 11 12 13 14 15 |
# File 'lib/solargraph/language_server/transport/stdio.rb', line 7 def initialize # binmode is necessary to avoid EOL conversions STDOUT.binmode @host = Solargraph::LanguageServer::Host.new @data_reader = Solargraph::LanguageServer::Transport::DataReader.new @data_reader. do || process end end |
Class Method Details
Instance Method Details
#run ⇒ Object
17 18 19 20 |
# File 'lib/solargraph/language_server/transport/stdio.rb', line 17 def run start_reader start_timers end |