@@ -87,9 +87,9 @@ def initialize(insert: [], delete: [], &block)
8787 end
8888
8989 ##
90- # Returns + false+ to indicate that this changeset is append-only.
90+ # Returns ` false` to indicate that this changeset is append-only.
9191 #
92- # Changesets do not support the + RDF::Enumerable+ protocol directly.
92+ # Changesets do not support the ` RDF::Enumerable` protocol directly.
9393 # To enumerate the RDF statements to be inserted or deleted, use the
9494 # {RDF::Changeset#inserts} and {RDF::Changeset#deletes} accessors.
9595 #
@@ -100,7 +100,7 @@ def readable?
100100 end
101101
102102 ##
103- # Returns + false+ to indicate that this changeset _itself_ is not writable .
103+ # Returns ` false` as changesets are not {RDF::Writable} .
104104 #
105105 # @return [Boolean]
106106 # @see RDF::Writable#writable?
@@ -109,7 +109,7 @@ def writable?
109109 end
110110
111111 ##
112- # Returns + false+ to indicate that this changeset _itself_ is not mutable .
112+ # Returns ` false` as changesets are not {RDF::Mutable} .
113113 #
114114 # @return [Boolean]
115115 # @see RDF::Mutable#mutable?
@@ -130,7 +130,7 @@ def apply(mutable, **options)
130130 end
131131
132132 ##
133- # @return [Boolean] + true+ iff inserts and deletes are both empty
133+ # @return [Boolean] ` true` iff inserts and deletes are both empty
134134 def empty?
135135 deletes . empty? && inserts . empty?
136136 end
@@ -146,29 +146,29 @@ def inspect
146146
147147 ##
148148 # Outputs a developer-friendly representation of this changeset to
149- # + $stderr+ .
149+ # ` $stderr` .
150150 #
151151 # @return [void]
152152 def inspect!
153153 $stderr. puts ( self . inspect )
154154 end
155155
156156 ##
157- # Returns the sum of both the + inserts+ and + deletes+ counts.
157+ # Returns the sum of both the ` inserts` and ` deletes` counts.
158158 #
159159 # @return [Integer]
160160 def count
161161 inserts . count + deletes . count
162162 end
163163
164- # Append statements to + inserts+ . Statements _should_ be constant
164+ # Append statements to ` inserts` . Statements _should_ be constant
165165 # as variable statements will at best be ignored or at worst raise
166166 # an error when applied.
167167 #
168- # @param statements [Enumerable, # RDF::Statement] Some statements
168+ # @param statements [Enumerable, RDF::Statement] Some statements
169169 # @return [self]
170170 def insert ( *statements )
171- process_statements ( statements ) do |stmts |
171+ coerce_statements ( statements ) do |stmts |
172172 append_statements :inserts , stmts
173173 end
174174
@@ -177,14 +177,14 @@ def insert(*statements)
177177 alias_method :insert! , :insert
178178 alias_method :<< , :insert
179179
180- # Append statements to + deletes+ . Statements _may_ contain
180+ # Append statements to ` deletes` . Statements _may_ contain
181181 # variables, although support will depend on the {RDF::Mutable}
182182 # target.
183183 #
184184 # @param statements [Enumerable, RDF::Statement] Some statements
185185 # @return [self]
186186 def delete ( *statements )
187- process_statements ( statements ) do |stmts |
187+ coerce_statements ( statements ) do |stmts |
188188 append_statements :deletes , stmts
189189 end
190190
@@ -196,8 +196,8 @@ def delete(*statements)
196196 private
197197
198198 ##
199- # Append statements to the appropriate target. This is a crappy
200- # little shim to go in between the other shim and the target.
199+ # Append statements to the appropriate target. This is a little
200+ # shim to go in between the other shim and the target.
201201 #
202202 # @param target [Symbol] the method to send
203203 # @param arg [Enumerable, RDF::Statement]
0 commit comments