Sha256: 195f2deb0085f4b58cf66ef172a5fece820d5227096c42edc63ce88f0e5e4227
Contents?: true
Size: 458 Bytes
Versions: 12
Compression:
Stored size: 458 Bytes
Contents
# frozen_string_literal: true 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
12 entries across 12 versions & 1 rubygems