lib/solargraph/language_server/host.rb
def open uri, text, version
        src = sources.open(uri, text, version)
        libraries.each do |lib|
          lib.merge src
        end
        diagnoser.schedule uri
      end
# Open the specified file in the library.
#
# @param uri [String] The file uri.
# @param text [String] The contents of the file.
# @param version [Integer] A version number.
# @return [void]
Open the specified file in the library.
Open the specified file in the library .
def open uri, text, version
        src = sources.open(uri, text, version)
        libraries.each do |lib|
          lib.merge src
        end
        diagnoser.schedule uri
      end
def open uri , text , version src = sources . open ( uri , text , version ) libraries . each do | lib | lib . merge src end diagnoser . schedule uri end
Open the specified file in the library.
Open the specified file in the library .
None
void
uri
The file uri.
The file uri .
text
The contents of the file.
The contents of the file .
version
A version number.
A version number .