class Anvil::FileAssure

Make sure that a file exists before running the task

Public Instance Methods

assure_exists?(file) click to toggle source
# File lib/anvil/assures/file_assure.rb, line 10
def assure_exists?(file)
  File.exists? file
end
assured?(file) click to toggle source
# File lib/anvil/assures/file_assure.rb, line 6
def assured?(file)
  assure_exists? file
end