def parse(data)
      return unless data
      data.each do |line|
        key, value = line.split(':', 2)
        if key =~ /^FRU.*/
          if value =~ /([\w\s]*)\(.*\)/
            self[:name] = $~[1].strip.gsub(/\ /, '_').downcase
          end
        else
          key = key.strip.gsub(/\ /, '_').downcase.gsub(/fru_/, '')
          self[key] = value.strip unless value.nil?
        end
      end
    end
def parse(data)
      return unless data
      data.each do |line|
        key, value = line.split(':', 2)
        if key =~ /^FRU.*/
          if value =~ /([\w\s]*)\(.*\)/
            self[:name] = $~[1].strip.gsub(/\ /, '_').downcase
          end
        else
          key = key.strip.gsub(/\ /, '_').downcase.gsub(/fru_/, '')
          self[key] = value.strip unless value.nil?
        end
      end
    end
parse the fru information that should be an array of lines