# File lib/rubyipmi/freeipmi/commands/fru.rb, line 29 def board_serial get_from_list('board_serial_number') end
# File lib/rubyipmi/freeipmi/commands/fru.rb, line 14 def get_from_list(key) if list.has_key?(DEFAULT_FRU) if list[DEFAULT_FRU].has_key?(key) list[DEFAULT_FRU][key] else nil end end end
method to retrieve the raw fru data
# File lib/rubyipmi/freeipmi/commands/fru.rb, line 42 def getfrus command return @result end
# File lib/rubyipmi/freeipmi/commands/fru.rb, line 25 def manufacturer get_from_list('board_manufacturer') end
# File lib/rubyipmi/freeipmi/commands/fru.rb, line 37 def model get_from_list('board_product_name') end
Generated with the Darkfish Rdoc Generator 2.