class String

Public Instance Methods

to_fullwidth() click to toggle source
# File lib/emoji2020.rb, line 1825
def to_fullwidth() # fullwidth
  self.chars.map {|x| [65248 + x.ord].pack("U*") }.join.gsub("\uFF00",'  ')
end