class MobilyApiUnicodeConverter
encoding: utf-8
Public Class Methods
convert(str)
click to toggle source
# File lib/mobily/mobily_api_unicode_converter.rb, line 4 def self.convert(str) str.chars.map{ |x| '%04x' % x.ord }.join.upcase end