Class: Capp::Device
- Inherits:
-
Struct
- Object
- Struct
- Capp::Device
- Defined in:
- lib/capp.rb
Overview
A device which Capp can listen on, returned by Capp::devices
Instance Attribute Summary collapse
-
#addresses ⇒ Object
Returns the value of attribute addresses.
-
#description ⇒ Object
Returns the value of attribute description.
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#open(*args) ⇒ Object
Creates a new packet capture device for this device sending the given
args
to Capp.open.
Instance Attribute Details
#addresses ⇒ Object
Returns the value of attribute addresses
70 71 72 |
# File 'lib/capp.rb', line 70 def addresses @addresses end |
#description ⇒ Object
Returns the value of attribute description
70 71 72 |
# File 'lib/capp.rb', line 70 def description @description end |
#flags ⇒ Object
Returns the value of attribute flags
70 71 72 |
# File 'lib/capp.rb', line 70 def flags @flags end |
#name ⇒ Object
Returns the value of attribute name
70 71 72 |
# File 'lib/capp.rb', line 70 def name @name end |