46
47
48
49
50
51
52
53
54
|
# File 'lib/wdmc/device.rb', line 46
def info
puts "Device Information".upcase.color(:magenta)
puts "\sDevice Name\t\t: ".color(:whitesmoke) + @device_description[:machine_name]
puts "\sModel / Number\t\t: ".color(:whitesmoke) + "#{@system_information[:model_name]} " + @system_information[:model_number]
puts "\sSerial Number\t\t: ".color(:whitesmoke) + @system_information[:serial_number]
puts "\sDrive Number Serial\t: ".color(:whitesmoke) + @system_information[:master_drive_serial_number]
puts "\sCapacity\t\t: ".color(:whitesmoke) + @system_information[:capacity]
puts "\sShares\t\t\t: ".color(:whitesmoke) + @shares.size.to_s
end
|