Class: Builtins::Common::UpDown
Direct Known Subclasses
Down, Up
Constant Summary
Constants inherited
from Builtin
Builtin::BUILTIN_DIR
Instance Attribute Summary
Attributes inherited from Builtin
#args, #config
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Builtin
class_for, #initialize
Constructor Details
This class inherits a constructor from Builtin
Class Method Details
.description ⇒ Object
7
8
9
|
# File 'lib/builtins/common/up_down.rb', line 7
def description
"attempts to meet dependencies listed in ops.yml"
end
|
Instance Method Details
#run ⇒ Object
12
13
14
15
16
17
18
|
# File 'lib/builtins/common/up_down.rb', line 12
def run
meet_dependencies
return true unless fail_on_error?
deps_to_meet.all?(&:success?)
end
|