Class: RubyLsp::Rails::ServerComponent
- Inherits:
-
Object
- Object
- RubyLsp::Rails::ServerComponent
- Defined in:
- lib/ruby_lsp/ruby_lsp_rails/server.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#capabilities ⇒ Object
readonly
: Hash[Symbol | String, untyped].
-
#stderr ⇒ Object
readonly
: IO | StringIO.
-
#stdout ⇒ Object
readonly
: IO | StringIO.
Instance Method Summary collapse
-
#initialize(stdout, stderr, capabilities) ⇒ ServerComponent
constructor
: (IO | StringIO, IO | StringIO, Hash[Symbol | String, untyped]) -> void.
Constructor Details
#initialize(stdout, stderr, capabilities) ⇒ ServerComponent
: (IO | StringIO, IO | StringIO, Hash[Symbol | String, untyped]) -> void
187 188 189 190 191 |
# File 'lib/ruby_lsp/ruby_lsp_rails/server.rb', line 187 def initialize(stdout, stderr, capabilities) @stdout = stdout @stderr = stderr @capabilities = capabilities end |
Instance Attribute Details
#capabilities ⇒ Object (readonly)
: Hash[Symbol | String, untyped]
184 185 186 |
# File 'lib/ruby_lsp/ruby_lsp_rails/server.rb', line 184 def capabilities @capabilities end |
#stderr ⇒ Object (readonly)
: IO | StringIO
181 182 183 |
# File 'lib/ruby_lsp/ruby_lsp_rails/server.rb', line 181 def stderr @stderr end |
#stdout ⇒ Object (readonly)
: IO | StringIO
178 179 180 |
# File 'lib/ruby_lsp/ruby_lsp_rails/server.rb', line 178 def stdout @stdout end |