| Modifier and Type | Field and Description |
|---|---|
| private IRubyObject | |
| private Block |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static RubyClass | createProducerClass(ThreadContext context, RubyClass Object, RubyClass Enumerator, RubyModule Enumerable)
|
| public IRubyObject | |
| public static RubyProducer | |
| public static IRubyObject |
| init | back to summary |
|---|---|
| private IRubyObject init | |
| producerBlock | back to summary |
|---|---|
| private Block producerBlock | |
| RubyProducer | back to summary |
|---|---|
| public RubyProducer(Ruby runtime, RubyClass klass) | |
| RubyProducer | back to summary |
|---|---|
| public RubyProducer(Ruby runtime, RubyClass klass, IRubyObject init, final Block block) | |
| createProducerClass | back to summary |
|---|---|
| public static RubyClass createProducerClass(ThreadContext context, RubyClass Object, RubyClass Enumerator, RubyModule Enumerable) | |
| each | back to summary |
|---|---|
public IRubyObject each(ThreadContext context, IRubyObject[] args, final Block block)
| |
| newProducer | back to summary |
|---|---|
| public static RubyProducer newProducer(ThreadContext context, IRubyObject init, final Block block) | |
| size | back to summary |
|---|---|
| public static IRubyObject size(ThreadContext context, RubyProducer self, IRubyObject[] args) MRI: producer_size | |