Sha256: 5e25a0ddbd278f99217dcb373f5e5e26d25f71b5d4f0f004f42ea52843cea523

Contents?: true

Size: 236 Bytes

Versions: 23

Compression:

Stored size: 236 Bytes

Contents

module Bluepill
  module ProcessConditions
    class ProcessCondition  
      def run(pid)
        raise "Implement in subclass!"
      end
      
      def check(value)
        raise "Implement in subclass!"
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
bluepill-0.0.3 lib/bluepill/process_conditions/process_condition.rb
bluepill-0.0.2 lib/bluepill/process_conditions/process_condition.rb
bluepill-0.0.1 lib/bluepill/process_conditions/process_condition.rb