Sha256: 487d9be1d43c5b92c3ba0734d90c98e8be7bc60627fc2425f7e56e1c912cb0d3

Contents?: true

Size: 310 Bytes

Versions: 11

Compression:

Stored size: 310 Bytes

Contents

# -*- encoding: utf-8 -*-
module Bluepill
  module ProcessConditions
    class AlwaysTrue < ProcessCondition
      def initialize(options = {})
        @below = options[:below]
      end

      def run(pid, include_children)
        1
      end

      def check(value)
        true
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
cloud66-bluepill-0.0.64 lib/bluepill/process_conditions/always_true.rb
bluepill-0.0.68 lib/bluepill/process_conditions/always_true.rb
bluepill-0.0.67 lib/bluepill/process_conditions/always_true.rb
bluepill-0.0.66 lib/bluepill/process_conditions/always_true.rb
bluepill-0.0.65 lib/bluepill/process_conditions/always_true.rb
bluepill-0.0.64 lib/bluepill/process_conditions/always_true.rb
cloud66-bluepill-0.0.63 lib/bluepill/process_conditions/always_true.rb
bluepill-0.0.63 lib/bluepill/process_conditions/always_true.rb
cloud66-bluepill-0.0.62 lib/bluepill/process_conditions/always_true.rb
bluepill-0.0.62 lib/bluepill/process_conditions/always_true.rb
bluepill-0.0.61 lib/bluepill/process_conditions/always_true.rb