class Bluepill::ProcessConditions::AlwaysTrue

Public Class Methods

new(options = {}) click to toggle source
# File lib/bluepill/process_conditions/always_true.rb, line 4
def initialize(options = {})
  @below = options[:below]
end

Public Instance Methods

check(_value) click to toggle source
# File lib/bluepill/process_conditions/always_true.rb, line 12
def check(_value)
  true
end
run(_pid, _include_children) click to toggle source
# File lib/bluepill/process_conditions/always_true.rb, line 8
def run(_pid, _include_children)
  1
end