Sha256: 0c844b4c0a0a8985820c9dd966323399c1a0eaf4f1a65db1d099ff9432b97772

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

# -*- encoding: utf-8 -*-

module Bluepill
  module ProcessConditions
    class AlwaysTrue < ProcessCondition
      def initialize(options = {})
        @below = options[:below]
      end

      def run(pid)
        1
      end

      def check(value)
        true
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
evented_bluepill-0.0.47 lib/bluepill/process_conditions/always_true.rb