Package | Description |
---|---|
org.jruby |
Modifier and Type | Method and Description |
---|---|
static RubyRange |
RubyRange.newExclusiveRange(ThreadContext context,
IRubyObject begin,
IRubyObject end) |
static RubyRange |
RubyRange.newInclusiveRange(ThreadContext context,
IRubyObject begin,
IRubyObject end) |
static RubyRange |
RubyRange.newRange(ThreadContext context,
IRubyObject begin,
IRubyObject end,
boolean isExclusive) |
static RubyRange |
RubyRange.rangeFromRangeLike(ThreadContext context,
IRubyObject rangeLike,
CallSite beginSite,
CallSite endSite,
CallSite excludeEndSite)
Given a range-line object that response to "begin", "end", construct a proper range
by calling those methods and "exclude_end?" with the given call sites.
|
Copyright © 2001-2021 JRuby. All Rights Reserved.