Module magnus::value

source ·
Expand description

Types for working with Ruby’s VALUE type, representing all objects, and ‘immediate’ values such as Fixnum.

Structs

Protects a Ruby Value from the garbage collector.
A Value known to be a fixnum, Ruby’s internal representation of small integers.
A Value known to be a flonum, Ruby’s internal representation of lower precision floating point numbers.
The internal value of a Ruby symbol.
Ruby’s false value.
Ruby’s nil value.
Ruby’s true value.
A placeholder value that represents an undefined value. Not exposed to Ruby level code.
A static Ruby symbol that will live for the life of the program and never be garbage collected.
Ruby’s VALUE type, which can represent any Ruby object.

Constants

Ruby’s false value.
Ruby’s nil value.
Ruby’s true value.
A placeholder value that represents an undefined value. Not exposed to Ruby level code.

Traits

Marker trait for types that have the same representation as Value.