Class: Switch::Peers

Inherits:
Array
  • Object
show all
Defined in:
lib/netutils/switch.rb

Instance Method Summary collapse

Instance Method Details

#add(sw, portname) ⇒ Object



67
68
69
# File 'lib/netutils/switch.rb', line 67

def add(sw, portname)
	push(Peer.new(sw, portname))
end