Eric Li

27%
Flag icon
We can do so by adding a special parameter to the end of our parameter list. This special parameter, which is preceded by an ampersand, is assigned the Proc object created from the code block that came after the method call.
Design Patterns in Ruby (Addison-Wesley Professional Ruby Series)
Rate this book
Clear rating
Open Preview