instance method reset

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

reset()

No documentation comment.

Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/jpcntx.rb, line 128
    def reset
      @_mTotalRel = 0 # total sequence received
      @_mRelSample = [0] * NUM_OF_CATEGORY # category counters, each interger counts sequence in its category
      @_mNeedToSkipCharNum = 0 # if last byte in current buffer is not the last byte of a character, we need to know how many bytes to skip in next buffer
      @_mLastCharOrder = -1 # The order of previous char
      @_mDone = false # If this flag is set to constants.True, detection is done and conclusion has been made
    end

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

Defined in CharDet::JapaneseContextAnalysis

Type at least 2 characters to search.

↑↓ navigate · open · esc close