Class: Command::ClusterInfo
- Inherits:
-
CrowbarVclusterCommand
- Object
- BasicCommand
- CrowbarCommand
- CrowbarVclusterCommand
- Command::ClusterInfo
- Defined in:
- lib/command/cluster_info.rb
Overview
Display a information’s cluster
Instance Attribute Summary
Attributes inherited from BasicCommand
Instance Method Summary collapse
-
#exec ⇒ Object
Method who call crowbar_receiver for display an information’s cluster.
-
#initialize(vcluster_name, proposal_name) ⇒ ClusterInfo
constructor
A new instance of ClusterInfo.
Constructor Details
#initialize(vcluster_name, proposal_name) ⇒ ClusterInfo
Returns a new instance of ClusterInfo.
17 18 19 20 21 22 |
# File 'lib/command/cluster_info.rb', line 17 def initialize(vcluster_name, proposal_name) super() @logger.info("Command::ClusterInfo initialize the parameters...") @vcluster_name = vcluster_name @proposal_name = proposal_name end |
Instance Method Details
#exec ⇒ Object
Method who call crowbar_receiver for display an information’s cluster
26 27 28 |
# File 'lib/command/cluster_info.rb', line 26 def exec() return @receiver.(@vcluster_name, @proposal_name) end |