# File lib/charlock_holmes/string.rb, line 7 def detect_encoding(hint_enc=nil) encoding_detector.detect(self, hint_enc) end