Sha256: d532cd8449d50f15cb861f9889b89492a5272b973b8fe32616365d0018f681bb

Contents?: true

Size: 258 Bytes

Versions: 4

Compression:

Stored size: 258 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pears-0.3.5 lib/pears/commands.rb
pears-0.3.4 lib/pears/commands.rb
pears-0.3.2 lib/pears/commands.rb
pears-0.3.1 lib/pears/commands.rb