# File lib/rubyipmi/freeipmi/commands/lan.rb, line 87 def parse(landata) if ! landata.nil? and ! landata.empty? 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 end return @info end