title: Ruby : Difference between Instance and Local Variables in Ruby
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/11523547/rails-and-class-variables">Rails and class variables</a>  </p>
  </blockquote>
  
  
  
  <p>Could anybody please tell me whats the difference between Ruby Instance variables and Local variables ?</p>
  
  <p>As far as i know both Instance variables and Local variables are same , and both are declared inside the method itself and  except that instance variables are denotated using @ symbol .</p>