Fix wrong type comparison rb_encoding for ruby encoding index
Authored by: kimuraw 2014-06-16
Parent: [r2566]
Child: [r2568]