Sha256: a9bc010f20b7b47fd5e91fbd55332f3153665501370b03269385220ac399f70a

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

Stored size: 242 Bytes

Contents

# encoding: utf-8
require "belzebuth/wait_condition/base"
module Belzebuth module WaitCondition
  class FileExist < Base
    def initialize(file)
      @file = file
    end

    def call(process)
      File.exist?(file)
    end
  end
end end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
belzebuth-0.2.1 lib/belzebuth/wait_condition/file_exist.rb