• Joe Bolinger's avatar
    Add frozen checks in Ruby (#5726) · 76685c6f
    Joe Bolinger authored
    * add frozen checks
    
    * Use rb_check_frozen
    
    * Correct assertion on frozen error message
    
    The second argument for the method assert_raise is the message
    to show when the assertion fails. It does not check the error
    object's message.
    Add an additional assertion that does check the error's message.
    
    * do frozen check first
    76685c6f
map.c 25.8 KB