summaryrefslogtreecommitdiff
path: root/include/ruby/ruby.h
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2024-02-08 09:45:03 -0500
committerPeter Zhu <peter@peterzhu.ca>2024-02-12 15:07:47 -0500
commit9a2b692249f5cbea0acf47b2711060084c0e7e3f (patch)
tree52471e7e26faccd3853262f11a090ba78cc12890 /include/ruby/ruby.h
parent3ed5962755603c86a5f783879425d1e5fb96e5bb (diff)
Replace assert with RUBY_ASSERT in rational.c
assert does not print the bug report, only the file and line number of the assertion that failed. RUBY_ASSERT prints the full bug report, which makes it much easier to debug.
Diffstat (limited to 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions