lib/sparql/algebra/operator/is_literal.rb in sparql-3.1.6 vs lib/sparql/algebra/operator/is_literal.rb in sparql-3.1.7
- old
+ new
@@ -22,10 +22,10 @@
#
# @param [RDF::Term] term
# an RDF term
# @return [RDF::Literal::Boolean] `true` or `false`
# @raise [TypeError] if the operand is not an RDF term
- def apply(term)
+ def apply(term, **options)
case term
when RDF::Literal then RDF::Literal::TRUE
when RDF::Term then RDF::Literal::FALSE
else raise TypeError, "expected an RDF::Term, but got #{term.inspect}"
end