public static class JavaLang.Number
extends java.lang.Object
Constructor and Description |
---|
Number() |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
coerce(ThreadContext context,
IRubyObject self,
IRubyObject type) |
static IRubyObject |
integer_p(ThreadContext context,
IRubyObject self) |
static IRubyObject |
nonzero_p(ThreadContext context,
IRubyObject self) |
static IRubyObject |
real_p(ThreadContext context,
IRubyObject self) |
static IRubyObject |
to_f(ThreadContext context,
IRubyObject self) |
static IRubyObject |
to_i(ThreadContext context,
IRubyObject self) |
static IRubyObject |
zero_p(ThreadContext context,
IRubyObject self) |
public static IRubyObject to_f(ThreadContext context, IRubyObject self)
public static IRubyObject real_p(ThreadContext context, IRubyObject self)
public static IRubyObject to_i(ThreadContext context, IRubyObject self)
public static IRubyObject integer_p(ThreadContext context, IRubyObject self)
public static IRubyObject zero_p(ThreadContext context, IRubyObject self)
public static IRubyObject nonzero_p(ThreadContext context, IRubyObject self)
public static IRubyObject coerce(ThreadContext context, IRubyObject self, IRubyObject type)
Copyright © 2001-2018 JRuby. All Rights Reserved.