Class: ForemanAdmin::Command
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- ForemanAdmin::Command
show all
- Defined in:
- lib/foreman_admin/command.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.command_name(name = nil) ⇒ Object
5
6
7
8
|
# File 'lib/foreman_admin/command.rb', line 5
def self.command_name(name = nil)
@command_name = name if name
@command_name
end
|
.description(description = nil) ⇒ Object
14
15
16
17
|
# File 'lib/foreman_admin/command.rb', line 14
def self.description(description = nil)
@description = description if description
@description
end
|
Instance Method Details
#command_name ⇒ Object
10
11
12
|
# File 'lib/foreman_admin/command.rb', line 10
def command_name
self.class.command_name
end
|
#description ⇒ Object
19
20
21
|
# File 'lib/foreman_admin/command.rb', line 19
def description
self.class.description
end
|
#execute ⇒ Object
23
24
25
|
# File 'lib/foreman_admin/command.rb', line 23
def execute
end
|