Sha256: 81c2fa65351031d7452376f2f70b81b41399ffcaf4a8ce4a283dafb88893f8bd

Contents?: true

Size: 287 Bytes

Versions: 14

Compression:

Stored size: 287 Bytes

Contents

require 'flydata'
require 'flydata/command/base'
require 'flydata/helper/base_action'

module Flydata
  module Helper
    module Action
      class StopHelper < BaseAction
        def execute(opts = {})
          Process.kill(:TERM, Process.ppid)
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
flydata-0.8.10.2 lib/flydata/helper/action/stop_helper.rb
flydata-0.8.10.1 lib/flydata/helper/action/stop_helper.rb
flydata-0.8.9.11 lib/flydata/helper/action/stop_helper.rb
flydata-0.8.10 lib/flydata/helper/action/stop_helper.rb
flydata-0.8.9 lib/flydata/helper/action/stop_helper.rb
flydata-0.8.8 lib/flydata/helper/action/stop_helper.rb
flydata-0.8.7 lib/flydata/helper/action/stop_helper.rb
flydata-0.8.6 lib/flydata/helper/action/stop_helper.rb
flydata-0.8.5 lib/flydata/helper/action/stop_helper.rb
flydata-0.8.4 lib/flydata/helper/action/stop_helper.rb
flydata-0.8.3 lib/flydata/helper/action/stop_helper.rb
flydata-0.8.2 lib/flydata/helper/action/stop_helper.rb
flydata-0.8.1 lib/flydata/helper/action/stop_helper.rb
flydata-0.8.0 lib/flydata/helper/action/stop_helper.rb