instance method
Symbol#start_with?
(*::Regexp | ::string prefixes) -> bool
start_with?(*string_or_regexp) → true or false
string.c
View on GitHub ↗
static VALUE
sym_start_with(int argc, VALUE *argv, VALUE sym)
{
return rb_str_start_with(argc, argv, rb_sym2str(sym));
}
Equivalent to self.to_s.start_with?; see String#start_with?.