Class: Dumbcli::Device::Cisco
Instance Method Summary collapse
Methods inherited from Base
#close, #established?, #initialize
Constructor Details
This class inherits a constructor from Dumbcli::Device::Base
Instance Method Details
#connect ⇒ Object
4 5 6 7 8 |
# File 'lib/dumbcli/device/cisco.rb', line 4 def connect super flush execute 'terminal length 0' end |
#execute(cmd) ⇒ Object
10 11 12 |
# File 'lib/dumbcli/device/cisco.rb', line 10 def execute(cmd) super + flush end |