Skip to content

Commit e054847

Browse files
naari3jeremy
authored andcommitted
Fix typo in comment
1 parent 8471b01 commit e054847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mail/multibyte/chars.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def slice(*args)
316316
#
317317
# Example:
318318
# s = 'こんにちは'
319-
# s.mb_chars.limit(7) # => "こに"
319+
# s.mb_chars.limit(7) # => "こん"
320320
def limit(limit)
321321
slice(0...translate_offset(limit))
322322
end

0 commit comments

Comments
 (0)