Exception: OMF::Rete::Store::UnknownPredicateException
- Inherits:
-
StoreException
- Object
- Exception
- StoreException
- OMF::Rete::Store::UnknownPredicateException
- Defined in:
- lib/omf_rete/store/predicate_store.rb
Instance Method Summary collapse
-
#initialize(pred, tuple, stores = {}) ⇒ UnknownPredicateException
constructor
A new instance of UnknownPredicateException.
Constructor Details
#initialize(pred, tuple, stores = {}) ⇒ UnknownPredicateException
Returns a new instance of UnknownPredicateException.
6 7 8 9 10 11 12 |
# File 'lib/omf_rete/store/predicate_store.rb', line 6 def initialize(pred, tuple, stores = {}) if pred super "Unknown predicate '#{pred}' in '#{tuple}' - (#{stores.keys})" else super "Missing predicate in '#{tuple}'" end end |