Class: LoomExt::CoreMods::Net
- Inherits:
-
Loom::Mods::Module
- Object
- Loom::Mods::Module
- LoomExt::CoreMods::Net
- Defined in:
- lib/loomext/coremods/net.rb
Defined Under Namespace
Modules: Actions
Constant Summary collapse
- NoNetworkError =
Class.new Loom::ExecutionError
Instance Attribute Summary
Attributes inherited from Loom::Mods::Module
#action_proxy, #loom, #loom_config, #mods, #shell
Instance Method Summary collapse
Methods inherited from Loom::Mods::Module
action_proxy, bind_action, #execute, import_actions, #initialize, register_mod, required_commands
Constructor Details
This class inherits a constructor from Loom::Mods::Module
Instance Method Details
#init_action(timeout: 10, check_host: "8.8.8.8") ⇒ Object
8 9 10 11 |
# File 'lib/loomext/coremods/net.rb', line 8 def init_action(timeout: 10, check_host: "8.8.8.8") @net_timeout = timeout @check_host = check_host end |