title: Integer variable declaration in ruby
body: <p>I am new in Ruby, i am trying to declare a simple variable in ruby which can store <code>int</code> type value.</p>
  
  <p>I have tried the following codes</p>
  
  <pre><code>var=5
  puts var
  </code></pre>
  
  <p>and</p>
  
  <pre><code>@var=5
  puts @var
  </code></pre>
  
  <p>The output in both program is <code>5</code> , can anybody explain what is the difference in both type of code.</p>