Sha256: 649c7daebf81a3dac684e04c7d960fb7f3490a2be588d7280e35a3aac8646621

Contents?: true

Size: 297 Bytes

Versions: 7

Compression:

Stored size: 297 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
bluepill-0.0.28 lib/bluepill/process_conditions/process_condition.rb
bluepill-0.0.27 lib/bluepill/process_conditions/process_condition.rb
gvarela-bluepill-0.0.28 lib/bluepill/process_conditions/process_condition.rb
gvarela-bluepill-0.0.27 lib/bluepill/process_conditions/process_condition.rb
bluepill-0.0.26 lib/bluepill/process_conditions/process_condition.rb
bluepill-0.0.25 lib/bluepill/process_conditions/process_condition.rb
bluepill-0.0.24 lib/bluepill/process_conditions/process_condition.rb