Uses of Class
org.jruby.RubyRange
Packages that use RubyRange
-
Uses of RubyRange in org.jruby
Modifier and TypeMethodDescriptionstatic RubyRange
RubyRange.newBeginlessRange
(ThreadContext context, long end, boolean isExclusive) static RubyRange
RubyRange.newEndlessRange
(ThreadContext context, long begin, boolean isExclusive) static RubyRange
RubyRange.newExclusiveRange
(ThreadContext context, long begin, long end) static RubyRange
RubyRange.newExclusiveRange
(ThreadContext context, IRubyObject begin, IRubyObject end) static RubyRange
RubyRange.newInclusiveRange
(ThreadContext context, long begin, long end) static RubyRange
RubyRange.newInclusiveRange
(ThreadContext context, IRubyObject begin, IRubyObject end) static RubyRange
RubyRange.newRange
(ThreadContext context, long begin, long end, boolean isExclusive) 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. -
Uses of RubyRange in org.jruby.api
Methods in org.jruby.api that return RubyRangeModifier and TypeMethodDescriptionstatic RubyRange
Convert.castAsRange
(ThreadContext context, IRubyObject newValue) Cast the given value to a RubyRange with most basic typeError thrown if the value is not a RubyRange.