CrystalLang-Blocks
Jan 27, 2024 · 5 min read · A block is the same thing as a method, but it does not belong to an object. Blocks are called closures in other programming languages. There are some important points about Blocks in crystal: Block can accept arguments and returns a value. ...
Join discussion



