Class: Dumbcli::Device::A10

Inherits:
Base
  • Object
show all
Defined in:
lib/dumbcli/device/a10.rb

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

#connectObject



4
5
6
7
8
# File 'lib/dumbcli/device/a10.rb', line 4

def connect
  super
  flush
  execute 'terminal length 0'
end

#execute(cmd) ⇒ Object



10
11
12
# File 'lib/dumbcli/device/a10.rb', line 10

def execute(cmd)
  super
end