3 4 5 6 7 8 9 10 11 12 13
# File 'lib/ruby187fix.rb', line 3 def ruby187fix unless '1.9'.respond_to?(:force_encoding) String.class_eval do begin remove_method :chars rescue NameError # Do nothing end end end end