10. Call Me Maybe



I try everything, I can't find a way past this. I've been stuck for 4 days now.

#I have used a bunch of codes


Well, all you really have to do is follow the example, and adapt it with the exercise instructions:

The example:

test = Proc.new { # does something }

The instructions:

Go ahead and create a proc called hi that puts "Hello!", then .call it!

It's pretty straightforward. Create a proc called hi (so you replace test by hi) that puts "Hello!" (so you puts "Hello!" instead of # does something). And finally, you just call that proc.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.