Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/atu/key.rb

Instance Method Summary collapse

Instance Method Details

#to_unicodeObject



6
7
8
9
10
11
12
13
14
# File 'lib/atu/key.rb', line 6

def to_unicode
  begin
    Iconv.iconv("UNICODEBIG//", "utf-8", self)[0]
  rescue Exception
    puts $!.class
    puts $!.message
    self
  end
end