title: how to use rubyxl to access the first row
body: <pre><code>workbook = RubyXL::Parser.parse(params[:file].path)  
  worksheet = workbook[0]
  puts worksheet.sheet_data[0][0]
  </code></pre>
  
  <p>But I am getting this as output </p>
  
  <pre><code>&lt;RubyXL::Cell(0,0): "0", datatype="s", style_index=1&gt;
  </code></pre>
  
  <p>My excel sheet is of this form</p>
  
  <pre><code>    name    coupon
      gates   gates1234
      jobs    jobs1234
  </code></pre>
  
  <p>I want to access rows one by one .. any help will be appreciated. </p>
  
  <p>I also made a sample app for this post, if you want to run it .. </p>
  
  <p><code>https://github.com/vamsipavanmahesh/example-excel-reader</code></p>