I was practicing ruby and accidentally came across something that got me
thinking (nothing important but I want to know why).
Why does the example-1 works and not example-2, if all I’m doing is
moving the puts?
“this is working”
puts “this is working”
Can someone explain this a little bit? I could just ignore it but I
would like to know the reason.