Sha256: f0133e135c7c57e0c83214cf2482c033621ea5fc26210d1de9f399410f84731e

Contents?: true

Size: 243 Bytes

Versions: 2

Compression:

Stored size: 243 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

2 entries across 2 versions & 1 rubygems

Version Path
belzebuth-0.2.3 lib/belzebuth/wait_condition/file_exist.rb
belzebuth-0.2.2 lib/belzebuth/wait_condition/file_exist.rb