title: Refactoring some Ruby Code
body: <p>I need some help refactoring some ruby code. Im not keeping it DRY at all.</p>
  
  <pre><code>if potatoes
    if item.type != nil
      if item.has_stuff == false &amp;&amp; (item.something_else).to_f &gt;= (comparing).to_f
        # RUN JOB A
      else
        # RUN JOB B
      end
    else
      # RUN JOB A
    end
  else
    # RUN JOB B
  end
  </code></pre>
  
  <p>I just created random names for things.</p>