class Anyolite::RbRef
- Anyolite::RbRef
- Reference
- Object
Overview
Class to contain Ruby values in a GC-protected container
Defined in:
Main.crConstructors
-
.new(value : RbCore::RbValue)
Create a new container with value as content
Instance Method Summary
-
#is_array?
Return
true
if the value is a Ruby array, otherwisefalse
-
#is_bool?
Return
true
if the value is a Ruby bool, otherwisefalse
-
#is_custom?(class_name)
Return
true
if the value is a wrapped object of class class_name, otherwisefalse
-
#is_custom?
Return
true
if the value is a wrapped objects, otherwisefalse
-
#is_fixnum?
Return
true
if the value is a Ruby fixnum, otherwisefalse
-
#is_float?
Return
true
if the value is a Ruby float, otherwisefalse
-
#is_hash?
Return
true
if the value is a Ruby hash, otherwisefalse
-
#is_nil?
Return
true
if the value is a Ruby nil, otherwisefalse
-
#is_string?
Return
true
if the value is a Ruby string, otherwisefalse
-
#is_symbol?
Return
true
if the value is a Ruby symbol, otherwisefalse
-
#is_undef?
Return
true
if the value is undefined, otherwisefalse
-
#value : Anyolite::RbCore::RbValue
Return the contained value
Constructor Detail
Instance Method Detail
Return true
if the value is a wrapped object of class class_name, otherwise false