Project

General

Profile

« Previous | Next » 

Revision f64e7c83

Added by nobu (Nobuyoshi Nakada) about 13 years ago

string.c: rb_str_symname_p

  • string.c (rb_str_symname_p): new function that checks if the string
    is valid as a symbol name. split from sym_inspect().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e