= private = protected
hash()
Returns a hash based on the string’s length, content and encoding.
See also Object#hash.
static VALUE rb_str_hash_m(VALUE str) { st_index_t hval = rb_str_hash(str); return ST2FIX(hval); }