summaryrefslogtreecommitdiff
path: root/array.rb
diff options
context:
space:
mode:
authorBurdette Lamar <BurdetteLamar@Yahoo.com>2023-08-15 13:43:58 -0500
committerGitHub <noreply@github.com>2023-08-15 14:43:58 -0400
commit8c5b9ebf7144af73cf52209b73b849c078133dff (patch)
tree209fdb862f98f7774293168c663171a9d627c7cc /array.rb
parentd9d4ae511a692568af4638e3fb88dbfdcbcba19b (diff)
[DOC] Improve doc guide compliance (#8221)
Diffstat (limited to 'array.rb')
-rw-r--r--array.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/array.rb b/array.rb
index 358b6a5d79..d17f374235 100644
--- a/array.rb
+++ b/array.rb
@@ -81,7 +81,7 @@ class Array
#
# If +self+ is empty, returns +nil+.
#
- # When non-negative \Integer argument +n+ is given,
+ # When non-negative Integer argument +n+ is given,
# returns the first +n+ elements in a new \Array:
#
# a = [:foo, 'bar', 2]
@@ -125,7 +125,7 @@ class Array
#
# If +self+ is empty, returns +nil+.
#
- # When non-negative \Integer argument +n+ is given,
+ # When non-negative Integer argument +n+ is given,
# returns the last +n+ elements in a new \Array:
#
# a = [:foo, 'bar', 2]