lib/xamplr/persistence.rb in hutch-xamplr-1.1.2 vs lib/xamplr/persistence.rb in hutch-xamplr-1.1.4

- old
+ new

@@ -486,9 +486,14 @@ raise NoActivePersister unless @@persister @@persister.optimise(opts) end + def Xampl.query_implemented + raise NoActivePersister unless @@persister + @@persister.query_implemented + end + def Xampl.query(hint=false) raise NoActivePersister unless @@persister @@persister.query(hint) { | q | yield q } end