lib/sugar-high/file.rb in sugar-high-0.3.4 vs lib/sugar-high/file.rb in sugar-high-0.3.5

- old
+ new

@@ -1,9 +1,10 @@ require 'sugar-high/blank' require 'sugar-high/arguments' require 'sugar-high/path' require 'sugar-high/regexp' require 'sugar-high/string' +require 'sugar-high/file_mutate' class File def self.blank? file_name raise ArgumentError, "Filename argument must not be blank" if file_name.blank? raise ArgumentError, "There is no file at: #{file_name}" if !File.file?(file_name)