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