# File lib/usb.rb, line 272 def open h = self.usb_open if block_given? begin r = yield h ensure h.usb_close end else h end end