Class: ARPTable
- Inherits:
-
Object
- Object
- ARPTable
- Defined in:
- lib/netutils/arp.rb
Defined Under Namespace
Classes: ARP
Instance Attribute Summary collapse
-
#arps ⇒ Object
readonly
Returns the value of attribute arps.
Instance Method Summary collapse
- #[](ia) ⇒ Object
- #add(ia, ma, interface, static) ⇒ Object
-
#initialize ⇒ ARPTable
constructor
A new instance of ARPTable.
Constructor Details
#initialize ⇒ ARPTable
Returns a new instance of ARPTable.
17 18 19 |
# File 'lib/netutils/arp.rb', line 17 def initialize @arps = {} end |
Instance Attribute Details
#arps ⇒ Object (readonly)
Returns the value of attribute arps.
15 16 17 |
# File 'lib/netutils/arp.rb', line 15 def arps @arps end |