lib/ventouse.rb in programmable-ventouse-0.1.0 vs lib/ventouse.rb in programmable-ventouse-0.1.1
- old
+ new
@@ -33,8 +33,8 @@
end
r
end
def self.ensure_dir_exists dir
- FileUtils.mkdir dir unless File.exist? dir and File.directory? dir
+ FileUtils.mkdir_p dir unless File.exist? dir and File.directory? dir
end
end