Blocks, procs and lambdas. 10/21


#1



An other strange effect :


salut = Proc.new do
puts " Salut ! "
end
salut.call

Oups, merci de réessayer. Votre proc n'affiche pas 'Salut !' quand elle est appelée.

But in the editor it seems ok :

**Salut ! **
**nil**

Is it a Bug because i can pass to the next exercise ?
Thank you.


#2

Hello @snakefinger33gmail.c,

I don't know the exercise you're doing. But try puts "Salut!" instead of Salut[space]!

It occurs often, that a error will show up, if you don't type exactly what's demanded...

Hope I could help you :slight_smile:


#3

Thank you very much.