lib/pears/commands.rb in pears-0.3.0 vs lib/pears/commands.rb in pears-0.3.1
- old
+ new
@@ -3,8 +3,12 @@
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