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