title: File opening mode in Ruby
body: <p>I am new programmar in Ruby. Can someone take an example about opening file with r+,w+,a+ mode in Ruby? What is difference between them and r,w,a?</p>
  
  <p>Please explain, and provide an example.</p>