lib/maven/tools/dsl/jarfile_lock.rb in maven-tools-1.0.13 vs lib/maven/tools/dsl/jarfile_lock.rb in maven-tools-1.1.0

- old
+ new

@@ -38,10 +38,11 @@ else warn "unknown format of #{@file} - skip it" end end end - + attr_reader :file + def dump if @data and not @data.empty? File.write( @file, @data.to_yaml ) else FileUtils.rm_f( @file )