# File lib/rubyipmi/freeipmi/commands/lan.rb, line 94 def parse(landata) landata.lines.each do |line| # clean up the data from spaces next if line.match(/#+/) next if line.match(/Section/i) line.gsub!(/\t/, '') item = line.split(/\s+/) key = item.first.strip.downcase value = item.last.strip @info[key] = value end return @info end