Class: Yoda::Server::Providers::Hover
- Inherits:
-
Base
- Object
- Base
- Yoda::Server::Providers::Hover
show all
- Defined in:
- lib/yoda/server/providers/hover.rb
Instance Attribute Summary
Attributes inherited from Base
#notifier, #session
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#initialize, provide?
Class Method Details
.provider_method ⇒ Object
5
6
7
|
# File 'lib/yoda/server/providers/hover.rb', line 5
def self.provider_method
:'textDocument/hover'
end
|
Instance Method Details
#provide(params) ⇒ Object
9
10
11
|
# File 'lib/yoda/server/providers/hover.rb', line 9
def provide(params)
calculate(params[:text_document][:uri], params[:position])
end
|
#timeout ⇒ Object
13
14
15
|
# File 'lib/yoda/server/providers/hover.rb', line 13
def timeout
10
end
|