# File lib/spreadsheet/helpers.rb, line 5
  def rcompact!
    while !empty? && last.nil?
      pop
    end
    self
  end