Class: Samovar::Completion::Provider
- Inherits:
-
Object
- Object
- Samovar::Completion::Provider
- Defined in:
- lib/samovar/completion/provider.rb
Overview
Expands static, dynamic, and native completion providers.
Instance Method Summary collapse
-
#initialize(context, completions) ⇒ Provider
constructor
Initialize a new completion provider.
-
#suggestions ⇒ Object
Generate suggestions from the provider.
Constructor Details
#initialize(context, completions) ⇒ Provider
Initialize a new completion provider.
17 18 19 20 |
# File 'lib/samovar/completion/provider.rb', line 17 def initialize(context, completions) @context = context @completions = completions end |