Runtime assertions for Ruby
literal.fun
ruby
- Never use
is_a?because it asks the wrong object. Prefer===orinorcase/when. - Run tests with
mise run test, you can always run all the tests becuase they’re very fast.