Blocks in Ruby (like anonymous functions in JavaScript) do not require a name to operate.
There are a few differences between blocks and methods in Ruby. While methods can run more than once, a block only runs once.
Blocks in Ruby (like anonymous functions in JavaScript) do not require a name to operate.
There are a few differences between blocks and methods in Ruby. While methods can run more than once, a block only runs once.
For further actions, you may consider blocking this person and/or reporting abuse
Jonas Scholz -
Mohd Suhel -
Lucas M. -
Andrew Mclean -
Top comments (0)