Class: Command::CrowbarGetBarclampsList
- Inherits:
-
CrowbarCommand
- Object
- BasicCommand
- CrowbarCommand
- Command::CrowbarGetBarclampsList
- Defined in:
- lib/command/crowbar_get_barclamps_list.rb
Overview
Allows to get the list of barclamps
Instance Attribute Summary
Attributes inherited from BasicCommand
Instance Method Summary collapse
-
#exec ⇒ Object
Run the command on receiver.
-
#initialize(logger) ⇒ CrowbarGetBarclampsList
constructor
Default constructor.
Constructor Details
#initialize(logger) ⇒ CrowbarGetBarclampsList
Default constructor
17 18 19 20 |
# File 'lib/command/crowbar_get_barclamps_list.rb', line 17 def initialize(logger) super(logger) @logger.info("Command::CrowbarGetBarclampsList initialize the parameters...") end |
Instance Method Details
#exec ⇒ Object
Run the command on receiver.
25 26 27 |
# File 'lib/command/crowbar_get_barclamps_list.rb', line 25 def exec() return @receiver.() end |