instance method
Set#join
(?::string separator) -> ::String
join(separator=nil)→ new_string
set.c
View on GitHub ↗
static VALUE
set_i_join(int argc, VALUE *argv, VALUE set)
{
rb_check_arity(argc, 0, 1);
return rb_ary_join(set_i_to_a(set), argc == 0 ? Qnil : argv[0]);
}
Returns a string created by converting each element of the set to a string.