Usage:
irb(main):001:0> require ‘rubygems’
> true
irb(main):002:0> require ‘UniversalDetector’
> false
irb(main):003:0> p UniversalDetector::chardet(‘hello’) “confidence”=>1.0
> nil
-
Hui ([email protected])
Usage:
irb(main):001:0> require ‘rubygems’
irb(main):002:0> require ‘UniversalDetector’
irb(main):003:0> p UniversalDetector::chardet(‘hello’) “confidence”=>1.0
Hui ([email protected])