= private = protected
to_sym()
In general, to_sym returns the Symbol corresponding to an object. As sym is already a symbol, self is returned in this case.
static VALUE sym_to_sym(VALUE sym) { return sym; }