public static class JavaLang.Iterable
extends java.lang.Object
Constructor and Description |
---|
Iterable() |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
count(ThreadContext context,
IRubyObject self,
Block block) |
static IRubyObject |
count(ThreadContext context,
IRubyObject self,
IRubyObject obj,
Block unused) |
static IRubyObject |
each_with_index(ThreadContext context,
IRubyObject self,
Block block) |
static IRubyObject |
each(ThreadContext context,
IRubyObject self,
Block block) |
static IRubyObject |
to_a(ThreadContext context,
IRubyObject self,
Block block) |
public static IRubyObject each(ThreadContext context, IRubyObject self, Block block)
public static IRubyObject each_with_index(ThreadContext context, IRubyObject self, Block block)
public static IRubyObject to_a(ThreadContext context, IRubyObject self, Block block)
public static IRubyObject count(ThreadContext context, IRubyObject self, Block block)
public static IRubyObject count(ThreadContext context, IRubyObject self, IRubyObject obj, Block unused)
Copyright © 2001-2018 JRuby. All Rights Reserved.