Ruby: internal/enumerator.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Functions
enumerator.h File Reference

Internal header for Enumerator. More...

`#include "ruby/ruby.h"`
`#include "ruby/intern.h"`

Go to the source code of this file.

## Functions
VALUE | rb_arith_seq_new (VALUE obj, VALUE meth, int argc, VALUE const *argv, rb_enumerator_size_func *size_fn, VALUE beg, VALUE end, VALUE step, int excl)

## Detailed Description

Internal header for Enumerator.

Author
  Ruby developers ruby-.nosp@m.core.nosp@m.@ruby.nosp@m.-lan.nosp@m.g.org

Copyright
  This file is a part of the programming language Ruby. Permission is hereby granted, to either redistribute and/or modify this file, provided that the conditions mentioned in the file COPYING are met. Consult the file for details.

Definition in file enumerator.h.

## Function Documentation

## ◆ rb_arith_seq_new()

VALUE rb_arith_seq_new | ( | VALUE | obj,
|  | VALUE | meth,
|  | int | argc,
|  | VALUE const * | argv,
|  | rb_enumerator_size_func * | size_fn,
|  | VALUE | beg,
|  | VALUE | end,
|  | VALUE | step,
|  | int | excl
| ) |  |

Definition at line 3327 of file enumerator.c.

References argc, argv, Qfalse, Qnil, Qtrue, rb_cArithSeq, rb_ivar_set(), and rb_keyword_given_p().