class method self.detect

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

self.detect(aBuf)

No documentation comment.

Parameters

aBuf req
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet.rb, line 60
  def CharDet.detect(aBuf)
    u = UniversalDetector.new
    u.reset
    u.feed(aBuf)
    u.close
    u.result
  end

Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet.rb line 60 · View on GitHub · Improve this page · Find usages on GitHub

Defined in CharDet

Type at least 2 characters to search.

↑↓ navigate · open · esc close