instance method feed

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

feed(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/charsetgroupprober.rb, line 62
    def feed(aBuf)
      for prober in @_mProbers
        next unless prober
        next unless prober.active
        st = prober.feed(aBuf)
        next unless st
        if st == EFoundIt
          @_mBestGuessProber = prober
          return get_state()
        elsif st == ENotMe
          prober.active = false
          @_mActiveNum -= 1
          if @_mActiveNum <= 0
            @_mState = ENotMe
            return get_state()
          end
        end
      end
      return get_state()
    end

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

Defined in CharDet::CharSetGroupProber

Type at least 2 characters to search.

↑↓ navigate · open · esc close