Hi, i just started learning ruby. Can someone please explain to me why
the following code returns “false”? I dont get it. The goal here was to
create a def that would print the longest word of the sentence. So it
does “puts” (line 5) the longest word (in this case “abcdefg”) but when
i do a boolean to check if thats true, i get a “false” in return.
Hi, i just started learning ruby. Can someone please explain to me why
the following code returns “false”? I dont get it. The goal here was to
create a def that would print the longest word of the sentence. So it
does “puts” (line 5) the longest word (in this case “abcdefg”) but when
i do a boolean to check if thats true, i get a “false” in return.