Skip to content

Commit

Permalink
Update string.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremy Evans <code@jeremyevans.net>
  • Loading branch information
st0012 and jeremyevans authored Dec 14, 2024
1 parent 81be59e commit 307479f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion string.rb
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
# These instance methods utilize slicing:
#
# - String#[] (aliased as String#slice): Returns a slice copied from +self+.
# - String#[]=: Mutates +self+ with the slice replaced and returns the given slice.
# - String#[]=: Mutates +self+ with the slice replaced.
# - String#slice!: Mutates +self+ with the slice removed and returns the removed slice.
#
# Each of the above methods takes arguments that determine the slice
Expand Down

0 comments on commit 307479f

Please sign in to comment.