module SafeIntern

Copyright (C) 2014 Jan Rusnacko

This copyrighted material is made available to anyone wishing to use, modify, copy, or redistribute it subject to the terms and conditions of the MIT license.

Copyright (C) 2014 Jan Rusnacko

This copyrighted material is made available to anyone wishing to use, modify, copy, or redistribute it subject to the terms and conditions of the MIT license.

Public Class Methods

symbol_defined?(p1) click to toggle source
RUBY2

VALUE
symbol_defined(VALUE self, VALUE str)
{
    if(rb_check_id(&str)) {
        return Qtrue;
    } else {
        return Qfalse;
    }
}