Module rb_sys::special_consts

source ·
Expand description

Definitions for Ruby’s special constants.

Makes it easier to reference important Ruby constants, without havign to dig around in bindgen’s output.

Constants

Functions

  • Checks if the given object is a so-called Fixnum.
  • Checks if the given object is a so-called Flonum.
  • Checks if the given object is an immediate i.e. an object which has no corresponding storage inside of the object space.
  • Checks if the given object is nil.
  • Checks if the given object is of enum ::ruby_special_consts.
  • Checks if the given object is a static symbol.
  • Emulates Ruby’s “if” statement.