0 votes
in Ruby by
What are Ruby blocks.

1 Answer

0 votes
by

Ruby code blocks are called closures in other programming languages. It consist of a group of codes which is always enclosed with braces or written between do...end.

...