method
map
v2_5_5 -
Show latest stable
- Class:
Enumerator::Lazy
map()public
No documentation available.
static VALUE
lazy_map(VALUE obj)
{
if (!rb_block_given_p()) {
rb_raise(rb_eArgError, "tried to call lazy map without a block");
}
return lazy_add_method(obj, 0, 0, Qnil, Qnil, &lazy_map_funcs);
}