Crystal · Lesson 10
Blocks, procs and exceptions
Write methods that yield, capture blocks as procs, build procs with ->, and raise and rescue custom exceptions.
Crystal · Lesson 10
Write methods that yield, capture blocks as procs, build procs with ->, and raise and rescue custom exceptions.