Module: RDF::Indexable
- Defined in:
- lib/rdf/mixin/indexable.rb
Overview
A mixin that can be used to mark RDF repository implementations as indexable.
Instance Method Summary collapse
-
#index! ⇒ void
abstract
Indexes ‘self`.
-
#indexed? ⇒ Boolean
abstract
Returns ‘true` if `self` is indexed at present.
Instance Method Details
#index! ⇒ void
This method is abstract.
This method returns an undefined value.
Indexes ‘self`.
22 23 24 |
# File 'lib/rdf/mixin/indexable.rb', line 22 def index! raise NotImplementedError, "#{self.class}#index!" end |
#indexed? ⇒ Boolean
This method is abstract.
Returns ‘true` if `self` is indexed at present.
13 14 15 |
# File 'lib/rdf/mixin/indexable.rb', line 13 def indexed? false end |