Sha256: 713e08e1cad6dc13b90091fbd7dd3eeecbe49f0e97c75df7a7de4e6c7c48db1b
Contents?: true
Size: 451 Bytes
Versions: 15
Compression:
Stored size: 451 Bytes
Contents
module Uricp::Strategy class Cleaner include Uricp::Strategy::Common def appropriate? if options['clean'] && sequence_complete? return proposal end debug "#{self.class.name}: not appropriate" false end def command "rm -f #{options['clean'].join(' ')};" end def proposal @proposed_options = options.dup @proposed_options.delete('clean') self end end end
Version data entries
15 entries across 15 versions & 1 rubygems