lib/rdf/model/statement.rb in rdf-0.3.1 vs lib/rdf/model/statement.rb in rdf-0.3.2

- old
+ new

@@ -94,9 +94,17 @@ else Literal.new(@object) end end ## + # Returns `true` to indicate that this value is a statement. + # + # @return [Boolean] + def statement? + true + end + + ## # @return [Boolean] def invalid? !valid? end