Uses of Class
org.jruby.RubyRational
Packages that use RubyRational
-
Uses of RubyRational in org.jruby
Methods in org.jruby that return RubyRationalModifier and TypeMethodDescriptionRubyBignum.convertToRational(ThreadContext context) RubyFixnum.convertToRational(ThreadContext context) RubyNumeric.convertToRational()Deprecated.RubyNumeric.convertToRational(ThreadContext context) RubyRational.convertToRational(ThreadContext context) Ruby.newRational(long num, long den) static RubyRationalRubyRational.newRational(Ruby runtime, long x, long y) static RubyRationalRubyRational.newRationalRaw(Ruby runtime, IRubyObject x, IRubyObject y) rb_rational_rawRuby.newRationalReduced(long num, long den) Methods in org.jruby with parameters of type RubyRationalModifier and TypeMethodDescriptionfinal RubyNumericRubyRational.op_minus(ThreadContext context, RubyRational other) final RubyNumericRubyRational.op_plus(ThreadContext context, RubyRational other) -
Uses of RubyRational in org.jruby.api
Methods in org.jruby.api that return RubyRationalModifier and TypeMethodDescriptionstatic RubyRationalCreate.newRational(ThreadContext context, long num, long den) Create a new Rational with the given long values for numerator and denominator. -
Uses of RubyRational in org.jruby.ir.runtime
Methods in org.jruby.ir.runtime that return RubyRationalModifier and TypeMethodDescriptionstatic RubyRationalIRRuntimeHelpers.newRationalCanonicalize(ThreadContext context, IRubyObject num, IRubyObject den)