| Modifier and Type | Field and Description |
|---|---|
| private RubyProc |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static RubyClass | createGeneratorClass(ThreadContext context, RubyClass Object, RubyClass Enumerator, RubyModule Enumerable)
|
| public IRubyObject | |
| public RubyProc | |
| public IRubyObject | |
| public IRubyObject | initialize_copy(ThreadContext
the thread context context, IRubyObject the original other)Overrides org. Initializes this object as a copy of the original, that is the parameter to this object. |
| proc | back to summary |
|---|---|
| private RubyProc proc | |
| RubyGenerator | back to summary |
|---|---|
| public RubyGenerator(Ruby runtime, RubyClass klass) | |
| createGeneratorClass | back to summary |
|---|---|
| public static RubyClass createGeneratorClass(ThreadContext context, RubyClass Object, RubyClass Enumerator, RubyModule Enumerable) | |
| each | back to summary |
|---|---|
public IRubyObject each(ThreadContext context, IRubyObject[] args, Block block)
| |
| getProc | back to summary |
|---|---|
| public RubyProc getProc() | |
| initialize | back to summary |
|---|---|
public IRubyObject initialize(ThreadContext context, IRubyObject[] args, Block block)
| |
| initialize_copy | back to summary |
|---|---|
| public IRubyObject initialize_copy(ThreadContext context, IRubyObject other) Overrides org. Doc from org. Initializes this object as a copy of the original, that is the parameter to this object. Will make sure that the argument actually has the same real class as this object. It shouldn't be possible to initialize an object with something totally different.
| |