Module: Pears::Commands

Defined in:
lib/pears/commands.rb

Class Method Summary collapse

Class Method Details

.purge_subjectsObject



4
5
6
7
# File 'lib/pears/commands.rb', line 4

def purge_subjects
  Pears.subjects.each(&:purge)
  Pears.instance_variable_set('@subjects', [])
end

.rebootObject



9
10
11
# File 'lib/pears/commands.rb', line 9

def reboot
  Pears.subjects.each(&:reboot)
end