Sha256: dd2b9420612c130034cf44491897f21c7769f275550aa0253178e40df37514e5

Contents?: true

Size: 174 Bytes

Versions: 44

Compression:

Stored size: 174 Bytes

Contents

module Perus::Pinger
    class Restart < Command
        description 'Restarts the client computer'

        def run
            -> { `sudo reboot` }
        end
    end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
perus-0.1.23 lib/perus/pinger/commands/restart.rb
perus-0.1.22 lib/perus/pinger/commands/restart.rb
perus-0.1.21 lib/perus/pinger/commands/restart.rb
perus-0.1.20 lib/perus/pinger/commands/restart.rb
perus-0.1.19 lib/perus/pinger/commands/restart.rb
perus-0.1.18 lib/perus/pinger/commands/restart.rb
perus-0.1.17 lib/perus/pinger/commands/restart.rb
perus-0.1.16 lib/perus/pinger/commands/restart.rb
perus-0.1.15 lib/perus/pinger/commands/restart.rb
perus-0.1.14 lib/perus/pinger/commands/restart.rb
perus-0.1.13 lib/perus/pinger/commands/restart.rb
perus-0.1.12 lib/perus/pinger/commands/restart.rb
perus-0.1.11 lib/perus/pinger/commands/restart.rb
perus-0.1.10 lib/perus/pinger/commands/restart.rb
perus-0.1.9 lib/perus/pinger/commands/restart.rb
perus-0.1.8 lib/perus/pinger/commands/restart.rb
perus-0.1.7 lib/perus/pinger/commands/restart.rb
perus-0.1.6 lib/perus/pinger/commands/restart.rb
perus-0.1.5 lib/perus/pinger/commands/restart.rb
perus-0.1.4 lib/perus/pinger/commands/restart.rb