module GreenHat::Ps
Sidekiq
Log Helpers
Public Class Methods
ps(args)
click to toggle source
# File lib/greenhat/accessors/process.rb, line 4 def self.ps(args) things = Thing.where(name: 'ps') # Host / Archive things.select! { |x| x.archive? args.archive } if args.archive things end
things()
click to toggle source
# File lib/greenhat/accessors/process.rb, line 13 def self.things Thing.where(name: 'ps') end