Skip to content

Commit 4bd92f7

Browse files
committed
Update RDF::Statement() to allow only options.
1 parent aa8bb84 commit 4bd92f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/rdf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def self.List(*args)
179179
# @return [RDF::Statement]
180180
#
181181
def self.Statement(*args, **options)
182-
if args.empty?
182+
if args.empty? && options.empty?
183183
RDF[:Statement]
184184
else
185185
Statement.new(*args, **options)

0 commit comments

Comments
 (0)