Class: Dependencies::Custom
- Inherits:
-
Dependency
- Object
- Dependency
- Dependencies::Custom
- Defined in:
- lib/dependencies/custom.rb
Constant Summary
Constants inherited from Dependency
Dependency::DESCRIPTION_TYPE_WIDTH
Instance Attribute Summary
Attributes inherited from Dependency
Instance Method Summary collapse
Methods inherited from Dependency
#always_act?, #initialize, #should_meet?, #success?, #type
Constructor Details
This class inherits a constructor from Dependency
Instance Method Details
#meet ⇒ Object
12 13 14 15 |
# File 'lib/dependencies/custom.rb', line 12 def meet # this dependency is just a custom, idempotent command execute(name) end |
#met? ⇒ Boolean
7 8 9 10 |
# File 'lib/dependencies/custom.rb', line 7 def met? # we always want to try to meet this dependency false end |
#unmeet ⇒ Object
17 18 19 |
# File 'lib/dependencies/custom.rb', line 17 def unmeet true end |