instance method
reset
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
reset()
No documentation comment.
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/sbcharsetprober.rb, line 49
def reset
super()
@_mLastOrder = 255 # char order of last character
@_mSeqCounters = [0] * NUMBER_OF_SEQ_CAT
@_mTotalSeqs = 0
@_mTotalChar = 0
@_mFreqChar = 0 # characters that fall in our sampling range
end
Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/sbcharsetprober.rb line 49
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in CharDet::SingleByteCharSetProber