Sha256: fdd36b99278de7d458f945388d083dc3206c9c2625f3775dbaf1e79ff571fa12

Contents?: true

Size: 235 Bytes

Versions: 1

Compression:

Stored size: 235 Bytes

Contents

# encoding: utf-8
require "belzebuth/wait_condition/base"
module Belzebuth module WaitCondition
  class FileExist
    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.0 lib/belzebuth/wait_condition/file_exist.rb