[ruby-cvs:71264] eregon:r64172 (trunk): encoding.c (enc_set_index): raise instead of rb_bug() for non-encoding capable objects

eregon at ruby-lang.org eregon at ruby-lang.org
Fri Aug 3 22:52:13 JST 2018


eregon	2018-08-03 22:52:13 +0900 (Fri, 03 Aug 2018)

  New Revision: 64172

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64172

  Log:
    encoding.c (enc_set_index): raise instead of rb_bug() for non-encoding capable objects
    
    * Add spec.

  Modified files:
    trunk/encoding.c
    trunk/spec/ruby/optional/capi/encoding_spec.rb


More information about the ruby-cvs mailing list