# File lib/textquery/textquery.rb, line 94 def accept(options = {}, &block) update_options(options) if not options.empty? if @query @query.accept(&block) else raise TextQueryError, 'no query specified' end end