class CharDet::GB2312Prober

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/rchardet/gb2312prober.rb, line 31
def initialize
  super
  @_mCodingSM = CodingStateMachine.new(GB2312SMModel)
  @_mDistributionAnalyzer = GB2312DistributionAnalysis.new()
  reset()
end

Public Instance Methods

get_charset_name() click to toggle source
# File lib/rchardet/gb2312prober.rb, line 38
def get_charset_name
  return "GB2312"
end