Exception: OMF::Rete::Store::UnknownPredicateException

Inherits:
StoreException
  • Object
show all
Defined in:
lib/omf_rete/store/predicate_store.rb

Instance Method Summary collapse

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