Top Fields Constructors Methods
org.jruby

public Class RubyGenerator

extends RubyObject
Class Inheritance
Annotations
@JRubyClass
name:Enumerator::Generator
Imports
org.jruby.anno.JRubyClass, .JRubyMethod, org.jruby.common.IRubyWarnings, org.jruby.runtime.Arity, .Block, .ThreadContext, .Visibility, org.jruby.runtime.builtin.IRubyObject, org.jruby.util.ArraySupport

Field Summary

Modifier and TypeField and Description
private RubyProc
Inherited from org.jruby.RubyObject:
IVAR_INSPECTING_OBJECT_ALLOCATOROBJECT_ALLOCATORREIFYING_OBJECT_ALLOCATOR

Constructor Summary

AccessConstructor and Description
public
RubyGenerator(Ruby runtime, RubyClass klass)

Method Summary

Modifier and TypeMethod and Description
public static RubyClass
createGeneratorClass(Ruby runtime, RubyClass enumeratorModule)

public IRubyObject
each(ThreadContext context, IRubyObject[] args, Block block)

public RubyProc
public IRubyObject
initialize(ThreadContext context, IRubyObject[] args, Block block)

public IRubyObject
Inherited from org.jruby.RubyObject:
attachToObjectSpacecallInitcallInitcallInitcallInitcallInitcallInitcallInitcallInitcallInitcallInitconvertToTypecreateObjectClassdigdig1dig2eqlInternalequalInternalequalsgetNativeClassIndexhashCodeinspectop_eqqputsspecificEvaltoRubyStringtoString

Field Detail

procback to summary
private RubyProc proc

Constructor Detail

RubyGeneratorback to summary
public RubyGenerator(Ruby runtime, RubyClass klass)

Method Detail

createGeneratorClassback to summary
public static RubyClass createGeneratorClass(Ruby runtime, RubyClass enumeratorModule)
eachback to summary
public IRubyObject each(ThreadContext context, IRubyObject[] args, Block block)
Annotations
@JRubyMethod
rest:true
keywords:true
getProcback to summary
public RubyProc getProc()
initializeback to summary
public IRubyObject initialize(ThreadContext context, IRubyObject[] args, Block block)
Annotations
@JRubyMethod
visibility:PRIVATE
optional:1
checkArity:false
initialize_copyback to summary
public IRubyObject initialize_copy(ThreadContext context, IRubyObject other)
Annotations
@JRubyMethod
visibility:PRIVATE