Class: Codeowners::Cli::SuggestionStrategy
- Inherits:
-
Object
- Object
- Codeowners::Cli::SuggestionStrategy
- Defined in:
- lib/codeowners/cli/suggest_file_from_pattern.rb
Overview
Build a list of suggestions case the pattern is not matching.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(pattern) ⇒ SuggestionStrategy
constructor
A new instance of SuggestionStrategy.
- #pick_suggestions ⇒ Object
Constructor Details
#initialize(pattern) ⇒ SuggestionStrategy
Returns a new instance of SuggestionStrategy.
35 36 37 |
# File 'lib/codeowners/cli/suggest_file_from_pattern.rb', line 35 def initialize(pattern) @pattern = pattern end |
Instance Method Details
#pick_suggestions ⇒ Object
39 40 41 |
# File 'lib/codeowners/cli/suggest_file_from_pattern.rb', line 39 def pick_suggestions raise NotImplementedError end |