mirror of
https://github.com/meineerde/rackstash.git
synced 2025-10-17 14:01:01 +00:00
Fix typo in documentation for Rackstash::Utils.utf8
This commit is contained in:
parent
22631e83d6
commit
1249b6ac47
@ -14,7 +14,7 @@ module Rackstash
|
||||
# return it unchanged. In all other cases we return a UTF-8 encoded and
|
||||
# frozen copy of the string.
|
||||
#
|
||||
# @param str [String, #to_s]
|
||||
# @param obj [String, #to_s]
|
||||
# @return [String]
|
||||
def utf8(obj)
|
||||
if obj.instance_of?(String) && obj.encoding == Encoding::UTF_8 && obj.valid_encoding?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user