Skip to content

Commit 44b1470

Browse files
Autolink Enumerable::SoleItemExpectedError [ci-skip]
1 parent b02081a commit 44b1470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activesupport/lib/active_support/core_ext/enumerable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def in_order_of(key, series, filter: true)
203203
end
204204

205205
# Returns the sole item in the enumerable. If there are no items, or more
206-
# than one item, raises +Enumerable::SoleItemExpectedError+.
206+
# than one item, raises Enumerable::SoleItemExpectedError.
207207
#
208208
# ["x"].sole # => "x"
209209
# Set.new.sole # => Enumerable::SoleItemExpectedError: no item found

0 commit comments

Comments
 (0)