Modifier and Type | Class and Description |
---|---|
static class |
RubyBoolean.False |
static class |
RubyBoolean.True |
Modifier and Type | Method and Description |
---|---|
static RubyBoolean |
RubyThread.abort_on_exception_x(IRubyObject recv)
Returns the status of the global ``abort on exception'' condition.
|
RubyBoolean |
RubyThread.abort_on_exception() |
RubyBoolean |
RubyThread.alive_p() |
static RubyBoolean |
RubyComparable.between_p(ThreadContext context,
IRubyObject recv,
IRubyObject first,
IRubyObject second)
cmp_between
|
static RubyBoolean |
RubyKernel.block_given_p(ThreadContext context,
IRubyObject recv) |
RubyBoolean |
RubyIO.closed_p(ThreadContext context) |
RubyBoolean |
RubyHash.compare(ThreadContext context,
MethodNames method,
IRubyObject other) |
RubyBoolean |
RubyArray.compare(ThreadContext context,
MethodNames method,
IRubyObject other) |
RubyBoolean |
RubyModule.const_defined_p(ThreadContext context,
IRubyObject symbol)
rb_mod_const_defined
|
RubyBoolean |
RubyModule.const_defined_p19(ThreadContext context,
IRubyObject[] args) |
RubyBoolean |
RubyFileStat.directory_p() |
RubyBoolean |
RubyHash.empty_p()
rb_hash_empty_p
|
RubyBoolean |
RubyString.empty_p(ThreadContext context)
rb_str_empty
|
RubyBoolean |
RubyIO.eof_p(ThreadContext context) |
RubyBoolean |
RubyInteger.even_p(ThreadContext context) |
RubyBoolean |
RubyFixnum.even_p(ThreadContext context) |
RubyBoolean |
RubyRange.exclude_end_p() |
RubyBoolean |
RubyFileStat.file_p() |
static RubyBoolean |
RubyFileTest.file_p(IRubyObject recv,
IRubyObject filename) |
static RubyBoolean |
RubyFileTest.file_p(ThreadContext context,
IRubyObject recv,
IRubyObject filename) |
static RubyBoolean |
RubyFileTest.FileTestFileMethods.file_p(ThreadContext context,
IRubyObject recv,
IRubyObject filename) |
RubyBoolean |
RubyBasicObject.frozen_p(ThreadContext context)
rb_obj_frozen_p
call-seq:
obj.frozen? => true or false
Returns the freeze status of obj.
|
RubyBoolean |
RubyArray.frozen_p(ThreadContext context)
rb_ary_frozen_p
|
static RubyBoolean |
RubyKernel.frozen_p(ThreadContext context,
IRubyObject self) |
RubyBoolean |
Ruby.getFalse()
Returns the "false" instance from the instance pool.
|
RubyBoolean |
Ruby.getTrue()
Returns the "true" instance from the instance pool.
|
RubyBoolean |
RubyTime.gmt() |
RubyBoolean |
RubyHash.has_key_p(IRubyObject key)
rb_hash_has_key
|
RubyBoolean |
RubyHash.has_value_p(ThreadContext context,
IRubyObject expected)
rb_hash_has_value
|
RubyBoolean |
RubyString.include_p(ThreadContext context,
IRubyObject obj)
rb_str_include
|
RubyBoolean |
RubyRange.include_p(ThreadContext context,
IRubyObject obj) |
RubyBoolean |
RubyArray.include_p(ThreadContext context,
IRubyObject item)
rb_ary_includes
|
RubyBoolean |
RubyString.include_p19(ThreadContext context,
IRubyObject obj) |
RubyBoolean |
RubyBasicObject.instance_of_p(ThreadContext context,
IRubyObject type)
rb_obj_is_instance_of
call-seq:
obj.instance_of?(class) => true or false
Returns
true if obj is an instance of the given
class. |
static RubyBoolean |
RubyKernel.instance_of_p(ThreadContext context,
IRubyObject self,
IRubyObject type) |
RubyBoolean |
RubyTime.isdst() |
RubyBoolean |
RubyThread.key_p(IRubyObject key) |
RubyBoolean |
RubyBasicObject.kind_of_p(ThreadContext context,
IRubyObject type)
rb_obj_is_kind_of
call-seq:
obj.is_a?(class) => true or false
obj.kind_of?(class) => true or false
Returns
true if class is the class of
obj, or if class is one of the superclasses of
obj or modules included in obj. |
static RubyBoolean |
RubyKernel.kind_of_p(ThreadContext context,
IRubyObject self,
IRubyObject type) |
RubyBoolean |
RubyModule.method_defined_p(ThreadContext context,
IRubyObject symbol) |
RubyBoolean |
Ruby.newBoolean(boolean value) |
static RubyBoolean |
RubyBoolean.newBoolean(Ruby runtime,
boolean value) |
RubyBoolean |
RubyInteger.odd_p(ThreadContext context) |
RubyBoolean |
RubyFixnum.odd_p(ThreadContext context) |
static RubyBoolean |
RubyNil.op_and(IRubyObject recv,
IRubyObject obj)
nil_and
|
RubyBoolean |
RubyModule.op_eqq(ThreadContext context,
IRubyObject obj)
rb_mod_eqq
|
RubyBoolean |
RubyMethod.op_equal(ThreadContext context,
IRubyObject other) |
static RubyBoolean |
RubyComparable.op_ge(ThreadContext context,
IRubyObject recv,
IRubyObject other)
cmp_ge
|
static RubyBoolean |
RubyComparable.op_gt(ThreadContext context,
IRubyObject recv,
IRubyObject other)
cmp_gt
|
static RubyBoolean |
RubyComparable.op_le(ThreadContext context,
IRubyObject recv,
IRubyObject other)
cmp_le
|
static RubyBoolean |
RubyComparable.op_lt(ThreadContext context,
IRubyObject recv,
IRubyObject other)
cmp_lt
|
static RubyBoolean |
RubyNil.op_or(IRubyObject recv,
IRubyObject obj)
nil_or
|
static RubyBoolean |
RubyNil.op_xor(IRubyObject recv,
IRubyObject obj)
nil_xor
|
RubyBoolean |
RubyBasicObject.respond_to_p(IRubyObject mname)
obj_respond_to
respond_to?( aSymbol, includePriv=false ) -> true or false
Returns true if this object responds to the given method.
|
static RubyBoolean |
RubyKernel.respond_to_p(IRubyObject self,
IRubyObject mname) |
RubyBoolean |
RubyBasicObject.respond_to_p(IRubyObject mname,
IRubyObject includePrivate)
obj_respond_to
respond_to?( aSymbol, includePriv=false ) -> true or false
Returns true if this object responds to the given method.
|
static RubyBoolean |
RubyKernel.respond_to_p(IRubyObject self,
IRubyObject mname,
IRubyObject includePrivate) |
RubyBoolean |
RubyThread.stop_p() |
static RubyBoolean |
RubyFileTest.symlink_p(IRubyObject recv,
IRubyObject filename) |
static RubyBoolean |
RubyFileTest.FileTestFileMethods.symlink_p(IRubyObject recv,
IRubyObject filename) |
RubyBoolean |
RubyIO.sync(ThreadContext context)
Returns the current sync mode.
|
static RubyBoolean |
RubyKernel.system(ThreadContext context,
IRubyObject recv,
IRubyObject[] args) |
RubyBoolean |
RubyBasicObject.tainted_p(ThreadContext context)
rb_obj_tainted
call-seq:
obj.tainted? => true or false
Returns
true if the object is tainted. |
static RubyBoolean |
RubyKernel.tainted_p(ThreadContext context,
IRubyObject self) |
RubyBoolean |
RubyIO.tty_p(ThreadContext context) |
RubyBoolean |
RubyBasicObject.untrusted_p(ThreadContext context)
rb_obj_untrusted
call-seq:
obj.untrusted? => true or false
Returns
true if the object is untrusted. |
static RubyBoolean |
RubyKernel.untrusted_p(ThreadContext context,
IRubyObject self) |
static RubyBoolean |
RubyFileTest.writable_p(IRubyObject recv,
IRubyObject filename) |
static RubyBoolean |
RubyFileTest.FileTestFileMethods.writable_p(IRubyObject recv,
IRubyObject filename) |
static RubyBoolean |
RubyFileTest.zero_p(IRubyObject recv,
IRubyObject filename) |
static RubyBoolean |
RubyFileTest.zero_p(ThreadContext context,
IRubyObject recv,
IRubyObject filename) |
static RubyBoolean |
RubyFileTest.FileTestFileMethods.zero_p(ThreadContext context,
IRubyObject recv,
IRubyObject filename) |
Modifier and Type | Method and Description |
---|---|
RubyBoolean |
Enums.empty_p() |
Modifier and Type | Method and Description |
---|---|
RubyBoolean |
RubyStringScanner.empty_p(ThreadContext context) |
RubyBoolean |
RubyStringScanner.eos_p(ThreadContext context) |
RubyBoolean |
RubyStringScanner.matched_p(ThreadContext context) |
RubyBoolean |
RubyStringScanner.rest_p(ThreadContext context) |
Modifier and Type | Method and Description |
---|---|
RubyBoolean |
Queue.empty_p(ThreadContext context) |
RubyBoolean |
Mutex.locked_p(ThreadContext context) |
RubyBoolean |
Mutex.try_lock(ThreadContext context) |
Modifier and Type | Method and Description |
---|---|
RubyBoolean |
MapJavaProxy.empty_p()
rb_hash_empty_p
|
RubyBoolean |
MapJavaProxy.has_key_p(IRubyObject key)
rb_hash_has_key_p
|
RubyBoolean |
MapJavaProxy.has_value_p(ThreadContext context,
IRubyObject expected)
rb_hash_has_value
|
Modifier and Type | Method and Description |
---|---|
static RubyBoolean |
Helpers.isWhenTriggered(IRubyObject expression,
IRubyObject expressionsObject,
ThreadContext context) |
static RubyBoolean |
Helpers.rbEql(ThreadContext context,
IRubyObject a,
IRubyObject b)
Equivalent to rb_eql in MRI
|
static RubyBoolean |
Helpers.rbEqual(ThreadContext context,
IRubyObject a,
IRubyObject b)
Equivalent to rb_equal in MRI
|
Modifier and Type | Method and Description |
---|---|
static RubyBoolean |
InvokeDynamicSupport.loadBoolean(java.lang.invoke.MutableCallSite site,
boolean value,
ThreadContext context) |
Modifier and Type | Method and Description |
---|---|
RubyBoolean |
StringArraySet.include_p(ThreadContext context,
IRubyObject item) |
Copyright © 2001-2014 JRuby. All Rights Reserved.