lib/flatware/pids.rb
# All the pids of all the processes called flatware on this machine
All the pids of all the processes called flatware on this machine
All the pids of all the processes called flatware on this machine
def pids
    pids_command.split("\n").map do |row|
      row =~ /(\d+).*flatware/ and $1.to_i
    end.compact
  end
def pids pids_command . split ( "\n" ) . map do | row | row =~ / ( \d +).*flatware / and $1 . to_i end . compact end
All the pids of all the processes called flatware on this machine
All the pids of all the processes called flatware on this machine