Package org.jruby.javasupport.ext
Class JavaLang.Iterable
java.lang.Object
org.jruby.javasupport.ext.JavaLang.Iterable
- Enclosing class:
- JavaLang
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IRubyObjectcount(ThreadContext context, IRubyObject self, Block block) static IRubyObjectcount(ThreadContext context, IRubyObject self, IRubyObject obj, Block unused) (package private) static RubyFixnumcountBlock(ThreadContext context, Iterator it, Block block) (package private) static RubyModuledefine(Ruby runtime, RubyModule proxy) static IRubyObjecteach(ThreadContext context, IRubyObject self, Block block) static IRubyObjecteach_with_index(ThreadContext context, IRubyObject self, Block block) static IRubyObjectto_a(ThreadContext context, IRubyObject self, Block block)
-
Constructor Details
-
Iterable
public Iterable()
-
-
Method Details
-
define
-
each
-
each_with_index
-
to_a
-
count
-
countBlock
-
count
public static IRubyObject count(ThreadContext context, IRubyObject self, IRubyObject obj, Block unused)
-