class Belzebuth::WaitCondition::FileExist

Public Class Methods

new(file) click to toggle source
# File lib/belzebuth/wait_condition/file_exist.rb, line 5
def initialize(file)
  @file = file
end

Public Instance Methods

call(process) click to toggle source
# File lib/belzebuth/wait_condition/file_exist.rb, line 9
def call(process)
  File.exist?(@file)
end