macro_rules! debug_ruby_assert_type {
($obj:expr, $type:expr, $message:expr) => { ... };
}Expand description
Macro for conditionally asserting type checks in Ruby, only active when RUBY_DEBUG is enabled. This matches Ruby’s behavior of only checking types in debug mode.