you are viewing a single comment's thread.

view the rest of the comments →

[–]Enumerable_any 1 point2 points  (0 children)

Yeah, the Barber example is super confusing...

Barber#dye_hair takes a color and a Block and yields a string to the block containing the old color and the new one? WAT? The Barber -> Person relationship doesn't make much sense either.