Class: Factbase::IndexedUnique
- Inherits:
-
Object
- Object
- Factbase::IndexedUnique
- Defined in:
- lib/factbase/indexed/indexed_unique.rb
Overview
Indexed term ‘unique’.
Instance Method Summary collapse
-
#initialize(term, idx) ⇒ IndexedUnique
constructor
A new instance of IndexedUnique.
-
#predict(_maps, _fb, _params) ⇒ Object
rubocop:disable Elegant/NoNilReturn.
Constructor Details
#initialize(term, idx) ⇒ IndexedUnique
Returns a new instance of IndexedUnique.
8 9 10 11 |
# File 'lib/factbase/indexed/indexed_unique.rb', line 8 def initialize(term, idx) @term = term @idx = idx end |
Instance Method Details
#predict(_maps, _fb, _params) ⇒ Object
rubocop:disable Elegant/NoNilReturn
14 15 16 |
# File 'lib/factbase/indexed/indexed_unique.rb', line 14 def predict(_maps, _fb, _params) nil end |