APIdock / Ruby
/
method

codepoints

ruby latest stable - Class: ARGF
codepoints()
public

This is a deprecated alias for each_codepoint.

static VALUE
argf_codepoints(VALUE argf)
{
 rb_warn("ARGF#codepoints is deprecated; use #each_codepoint instead");
 if (!rb_block_given_p())
 return rb_enumeratorize(argf, ID2SYM(rb_intern("each_codepoint")), 0, 0);
 return argf_each_codepoint(argf);
}

AltStyle によって変換されたページ (->オリジナル) /