Class: Tomo::Plugin::Testing

Inherits:
TaskLibrary show all
Extended by:
Tomo::PluginDSL
Defined in:
lib/tomo/plugin/testing.rb

Instance Attribute Summary

Attributes included from Tomo::PluginDSL

#default_settings, #helper_modules, #tasks_classes

Instance Method Summary collapse

Methods included from Tomo::PluginDSL

defaults, extended, helpers, tasks

Methods inherited from TaskLibrary

#initialize

Constructor Details

This class inherits a constructor from Tomo::TaskLibrary

Instance Method Details

#call_helperObject



11
12
13
14
15
# File 'lib/tomo/plugin/testing.rb', line 11

def call_helper
  helper, args, kwargs = settings[:run_args]
  value = remote.public_send(helper, *args, **(kwargs || {}))
  remote.host.helper_values << value
end