From e8b9b201e336fa8131d201912aa60937493556bd Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Wed, 29 Dec 2021 09:50:20 -0800 Subject: [PATCH] Improve yard tags. --- lib/sparql/algebra/extensions.rb | 8 ++++---- lib/sparql/algebra/operator.rb | 4 ++-- lib/sparql/algebra/operator/rand.rb | 1 - 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/sparql/algebra/extensions.rb b/lib/sparql/algebra/extensions.rb index c7ed9ffe..6b8cce51 100644 --- a/lib/sparql/algebra/extensions.rb +++ b/lib/sparql/algebra/extensions.rb @@ -376,8 +376,8 @@ def to_sxp_bin ## # Returns an S-Expression (SXP) representation # - # @param [Hash{Symbol => RDF::URI}] prefixes(nil) - # @param [RDF::URI] base_uri(nil) + # @param [Hash{Symbol => RDF::URI}] prefixes (nil) + # @param [RDF::URI] base_uri (nil) # @return [String] def to_sxp(prefixes: nil, base_uri: nil) to_sxp_bin.to_sxp(prefixes: prefixes, base_uri: base_uri) @@ -631,8 +631,8 @@ def to_sxp_bin # Transform Solution into an SXP # - # @param [Hash{Symbol => RDF::URI}] prefixes(nil) - # @param [RDF::URI] base_uri(nil) + # @param [Hash{Symbol => RDF::URI}] prefixes (nil) + # @param [RDF::URI] base_uri (nil) # @return [String] def to_sxp(prefixes: nil, base_uri: nil) to_sxp_bin.to_sxp(prefixes: prefixes, base_uri: base_uri) diff --git a/lib/sparql/algebra/operator.rb b/lib/sparql/algebra/operator.rb index df82ad40..15e9f374 100644 --- a/lib/sparql/algebra/operator.rb +++ b/lib/sparql/algebra/operator.rb @@ -663,8 +663,8 @@ def to_sxp_bin ## # Returns an S-Expression (SXP) representation of this operator # - # @param [Hash{Symbol => RDF::URI}] prefixes(nil) - # @param [RDF::URI] base_uri(nil) + # @param [Hash{Symbol => RDF::URI}] prefixes (nil) + # @param [RDF::URI] base_uri (nil) # @return [String] def to_sxp(prefixes: nil, base_uri: nil) to_sxp_bin.to_sxp(prefixes: prefixes, base_uri: base_uri) diff --git a/lib/sparql/algebra/operator/rand.rb b/lib/sparql/algebra/operator/rand.rb index f392e62c..e81b53e6 100644 --- a/lib/sparql/algebra/operator/rand.rb +++ b/lib/sparql/algebra/operator/rand.rb @@ -45,7 +45,6 @@ def apply(**options) # # Extracts projections # - # @param [Boolean] distinct (false) # @return [String] def to_sparql(**options) "RAND()"