mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
[DOC] Fix missing colons in String
This commit is contained in:
parent
bd7bc9e2ba
commit
88723dd5a5
1 changed files with 2 additions and 2 deletions
|
@ -164,8 +164,8 @@
|
|||
# These instance methods make use of slicing:
|
||||
#
|
||||
# - String#[] (aliased as String#slice): returns a slice copied from +self+.
|
||||
# - String#[]= returns a copy of +self+ with a slice replaced.
|
||||
# - String#slice! returns +self+ with a slice removed.
|
||||
# - String#[]=: returns a copy of +self+ with a slice replaced.
|
||||
# - String#slice!: returns +self+ with a slice removed.
|
||||
#
|
||||
# Each of the above methods takes arguments that determine the slice
|
||||
# to be copied or replaced.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue