Class: USB::Interface
- Inherits:
-
Object
- Object
- USB::Interface
- Defined in:
- lib/usb.rb
Instance Method Summary collapse
Instance Method Details
#bus ⇒ Object
326 |
# File 'lib/usb.rb', line 326 def bus() self.configuration.device.bus end |
#device ⇒ Object
327 |
# File 'lib/usb.rb', line 327 def device() self.configuration.device end |
#endpoints ⇒ Object
329 |
# File 'lib/usb.rb', line 329 def endpoints() self.settings.map {|d| d.endpoints }.flatten end |
#inspect ⇒ Object
318 319 320 321 322 323 324 |
# File 'lib/usb.rb', line 318 def inspect if self.revoked? "\#<#{self.class} revoked>" else "\#<#{self.class}>" end end |