title: If modifier of Ruby is different than other languages
body: <p>Its very simple question but I am at beginning level and little bit confused from <code>if modifier</code> of Ruby, i search on Google but not clear yet how it is different than other programming languages like java etc.</p>
  
  <p>can anyone make me understand with simple example or refer to useful blog please.</p>
  
  <p>Thanks in advance. :)</p>