Sha256: 253f7afa454d39e3284098b119ef3b3773ab2eb39d9a51728e315c384bd35a3a
Contents?: true
Size: 628 Bytes
Versions: 3
Compression:
Stored size: 628 Bytes
Contents
# Author:: Marco Tessari <marco.tessari@epita.fr>. # Copyright:: Copyright (c) 2004, 2005 Uttk team. All rights reserved. # License:: LGPL # $Id: /w/fey/uttk/trunk/lib/uttk/strategies/Clean.rb 8778 2005-09-26T04:34:48.103938Z ertai $ module Uttk module Strategies class Clean < Strategy include Concrete def run_impl if @dir.is_a? Array @dir.each { |dir| FileUtils.rm_rf(dir) } else FileUtils.rm_rf(@dir) end pass end attribute :dir, 'clean directory', :mandatory end # class Clean end # module Strategies end # module Uttk
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
uttk-0.4.6.1 | lib/uttk/strategies/Clean.rb |
uttk-0.4.5.0 | lib/uttk/strategies/Clean.rb |
uttk-0.4.6.2 | lib/uttk/strategies/Clean.rb |