# File lib/usb.rb, line 144 def find_device(n) device = self.first_device while device return device if n == device.filename.to_i device = device.next end return nil end