aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/array/access.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-11-22 14:53:01 -0500
committerGitHub <noreply@github.com>2017-11-22 14:53:01 -0500
commit4b8953cc43d04998ca5f4601583220e695cacec0 (patch)
treecf353b1a1275c8d3001f066700caea568b00ec64 /activesupport/lib/active_support/core_ext/array/access.rb
parent078421bacba178eac6a8e607b16f3f4511c5d72f (diff)
parent3063ace1070e4ddb8d0cc09fbd23049e7b21617a (diff)
downloadrails-4b8953cc43d04998ca5f4601583220e695cacec0.tar.gz
rails-4b8953cc43d04998ca5f4601583220e695cacec0.tar.bz2
rails-4b8953cc43d04998ca5f4601583220e695cacec0.zip
Merge pull request #31204 from tjschuck/doc_fix_some_backticks_to_tt
Update incorrect backtick usage in RDoc to teletype
Diffstat (limited to 'activesupport/lib/active_support/core_ext/array/access.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/array/access.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/array/access.rb b/activesupport/lib/active_support/core_ext/array/access.rb
index d67f99df0e..b7ff7a3907 100644
--- a/activesupport/lib/active_support/core_ext/array/access.rb
+++ b/activesupport/lib/active_support/core_ext/array/access.rb
@@ -35,8 +35,8 @@ class Array
# people.without "Aaron", "Todd"
# # => ["David", "Rafael"]
#
- # Note: This is an optimization of `Enumerable#without` that uses `Array#-`
- # instead of `Array#reject` for performance reasons.
+ # Note: This is an optimization of <tt>Enumerable#without</tt> that uses <tt>Array#-</tt>
+ # instead of <tt>Array#reject</tt> for performance reasons.
def without(*elements)
self - elements
end