empty ruby variable, but when running says its not empty
<p>ok im trying to set an empty variable in ruby</p>

<p>my code looks like this:</p>

<pre><code>name = ""

if !name
    puts "name is empty"
else
    puts "name is not empty"
end
</code></pre>

<p>after I do the typical : ruby test.rb</p>

<p>it says : <strong>name is not empty</strong> . but <strong>name = ""</strong>
is empty :/</p>

<p>I don't know what I'm doing wrong :(</p>