I love creating! It started with Lego as a little kid. Later I went on with (dis)assembling my first computer in the early 2000s. Then came the internet... Working remotely for 8 years :-)
From the Ruby doc: "Proc objects are blocks of code that have been bound to a set of local variables. Once bound, the code may be called in different contexts and still access those variables."
Actually Ruby does not have functions at all. There are all methods.
They are all objects! :D
Procs are functions.
From the Ruby doc: "Proc objects are blocks of code that have been bound to a set of local variables. Once bound, the code may be called in different contexts and still access those variables."
I can also recommend a book patshaughnessy.net/ruby-under-a-mi... that goes greatly to the implementation as well.