Method: CORL::Plugin::Node#cli_check
- Defined in:
- lib/core/plugin/node.rb
#cli_check(cli_command, *args) ⇒ Object
1458 1459 1460 1461 |
# File 'lib/core/plugin/node.rb', line 1458 def cli_check(cli_command, *args) result = cli.send(cli_command, args) result.status == code.success ? true : false end |