module Pears module Commands class << self def purge_subjects Pears.subjects.each(&:purge) Pears.instance_variable_set('@subjects', []) end def reboot Pears.subjects.each(&:reboot) end end end end