Sha256: 23160474a9019021636f28780817ed6edce2b6f859ec83e012c83aef6811b03d
Contents?: true
Size: 427 Bytes
Versions: 8
Compression:
Stored size: 427 Bytes
Contents
module Uricp::Strategy class Cleaner include Uricp::Strategy::Common def appropriate? return proposal if options['clean'] && sequence_complete? 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
8 entries across 8 versions & 1 rubygems