Class: Aio::Device::Cisco
- Inherits:
-
ParentDevice
- Object
- ParentDevice
- Aio::Device::Cisco
- Defined in:
- lib/aio/core/device/cisco.rb
Constant Summary collapse
- InvalidInput =
/Invalid input detected/
Constants inherited from ParentDevice
Instance Attribute Summary
Attributes inherited from ParentDevice
#cmds_context, #cmds_useful, #device_info, #device_name, #manager_ip, #warning_klass
Instance Method Summary collapse
-
#initialize ⇒ Cisco
constructor
A new instance of Cisco.
Methods inherited from ParentDevice
#add_cmd, #add_cmd_context_by_cmd_name, #add_cmd_context_by_klass, #device_type, #has_cmd?, #inspect, #instance, #interface, #method_missing, #parse, #push_device_info, #push_useful
Methods included from Ui::Verbose
#clear_line, #print_error, #print_good, #progress_bar
Constructor Details
#initialize ⇒ Cisco
Returns a new instance of Cisco.
6 7 8 9 |
# File 'lib/aio/core/device/cisco.rb', line 6 def initialize super @device_type = "cisco" end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Aio::Device::ParentDevice