Class: MCollective::Test::RemoteAgentTest
- Inherits:
-
Object
- Object
- MCollective::Test::RemoteAgentTest
- Includes:
- RPC
- Defined in:
- lib/mcollective/test/remote_agent_test.rb
Instance Attribute Summary collapse
-
#agent ⇒ Object
readonly
Returns the value of attribute agent.
-
#plugin ⇒ Object
readonly
Returns the value of attribute plugin.
Instance Method Summary collapse
-
#initialize(agent) ⇒ RemoteAgentTest
constructor
A new instance of RemoteAgentTest.
Constructor Details
#initialize(agent) ⇒ RemoteAgentTest
Returns a new instance of RemoteAgentTest.
8 9 10 11 12 |
# File 'lib/mcollective/test/remote_agent_test.rb', line 8 def initialize(agent) @agent = agent.to_s @plugin = rpcclient(agent) @plugin.progress = false end |
Instance Attribute Details
#agent ⇒ Object (readonly)
Returns the value of attribute agent.
4 5 6 |
# File 'lib/mcollective/test/remote_agent_test.rb', line 4 def agent @agent end |
#plugin ⇒ Object (readonly)
Returns the value of attribute plugin.
4 5 6 |
# File 'lib/mcollective/test/remote_agent_test.rb', line 4 def plugin @plugin end |