Fetch as an Assertion in Ruby

Published: 04 June 2024
on channel: GracefulDev
159
12

Sometimes we'd like to know sooner rather than later if our assumptions about data are incorrect. When the assumptions are about keys or indexes in Ruby collections, we can fail early with the `fetch` method.

This video was originally published in 2012 as RubyTapas episode #8, and is now part of the "Crystaline Ruby" Garden Path at Graceful.Dev: https://graceful.dev/courses/crystali...

Get two weeks of Graceful.Dev Pro for free: https://graceful.dev/youtube


On this page of the site you can watch the video online Fetch as an Assertion in Ruby with a duration of hours minute second in good quality, which was uploaded by the user GracefulDev 04 June 2024, share the link with friends and acquaintances, this video has already been watched 159 times on youtube and it was liked by 12 viewers. Enjoy your viewing!