Skip to content
  • Jeremy Evans's avatar
    8dc0d290
    Update exception message in string_for_symbol · 8dc0d290
    Jeremy Evans authored
    This is a static function only called in two places (rb_to_id and
    rb_to_symbol), and in both places, both symbols and strings are
    allowed.  This makes the error message consistent with rb_check_id
    and rb_check_symbol.
    
    Fixes [Bug #20607]
    8dc0d290
    Update exception message in string_for_symbol
    Jeremy Evans authored
    This is a static function only called in two places (rb_to_id and
    rb_to_symbol), and in both places, both symbols and strings are
    allowed.  This makes the error message consistent with rb_check_id
    and rb_check_symbol.
    
    Fixes [Bug #20607]
Loading