A quick fix to the DSL to support predicates with zero arity without the need for brackets. Example:
db = RubyProlog.new do
tags['fire'].fact
tags['paper'].fact
# BEFORE:
# is_lit[] << tags['fire']
# AFTER:
is_lit << tags['fire']
end
# BEFORE:
# db.query{ is_lit[] } #=> [{}]
# AFTER:
db.query{ is_lit } #=> [{}]