Project

General

Profile

« Previous | Next » 

Revision fb253d20

Added by Eregon (Benoit Daloze) almost 7 years ago

encoding.c (rb_enc_get_index): return -1 for non-encoding capable objects

  • Clarify logic and add spec.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e