Method: Cyc::Client#cache_enabled
- Defined in:
- lib/cyc/client.rb
#cache_enabled ⇒ Object
If set to true, results of the queries are cached. This is turned off by default, since there is a functional-languages assumption, that the result for the same query is always the same, but this might not be true in case of Cyc (however highly probable). The cache is used only in the talk
call (and calls based on it – i.e. direct Cyc calls, e.g. cyc.genls :Dog).
30 31 32 |
# File 'lib/cyc/client.rb', line 30 def cache_enabled @cache_enabled end |