Class: Comet::Rules::TmpDir
- Inherits:
-
Object
- Object
- Comet::Rules::TmpDir
- Defined in:
- lib/comet/rules/tmpdir.rb
Instance Method Summary collapse
Instance Method Details
#commands ⇒ Object
20 21 22 |
# File 'lib/comet/rules/tmpdir.rb', line 20 def commands { COMET_LN: 'ln' } end |
#contents ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/comet/rules/tmpdir.rb', line 8 def contents [ ".PHONY: #{target}", "#{target}:", "\tif #{exists?} || #{valid?}; then #{create}; fi" ] end |
#rules ⇒ Object
16 17 18 |
# File 'lib/comet/rules/tmpdir.rb', line 16 def rules [] end |