Sha256: c05f35cff1abb2d5fab09b0982aff5ed21ee21c28fa67930dca5f44db22950f4

Contents?: true

Size: 220 Bytes

Versions: 3

Compression:

Stored size: 220 Bytes

Contents

module Rbuv
  class Signal
    ::Signal.list.each do |signame, signum|
      const_set signame, signum
    end
    def self.start(*args)
      self.new.start(*args) { |*block_args| yield(*block_args) }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rbuv-0.0.5 lib/rbuv/signal.rb
rbuv-0.0.4 lib/rbuv/signal.rb
rbuv-0.0.3 lib/rbuv/signal.rb