shorthand
20 21 22
# File 'lib/string_tools.rb', line 20 def detect_encoding(str) str.detect_encoding end