title: How can I clear the terminal in Ruby?
body: <p>I would like to know to how to do in Ruby what I can do with <code>system("clear")</code> in C.
  I wrote a program like </p>
  
  <pre><code>puts "amit"
  system("clear")
  </code></pre>
  
  <p>I want the console to be cleared after executing this commnad, but it is not working.</p>