Class: Ptrace::Signal
- Inherits:
-
Object
- Object
- Ptrace::Signal
- Defined in:
- lib/Ptrace.rb
Class Method Summary collapse
-
.get(pid) ⇒ Object
read a signal from the child.
Instance Method Summary collapse
-
#initialize ⇒ Signal
constructor
create signinfo.
-
#send ⇒ Object
send a signal to the child.
Constructor Details
Class Method Details
.get(pid) ⇒ Object
read a signal from the child. returns a Signal data struct.
196 197 198 199 200 201 |
# File 'lib/Ptrace.rb', line 196 def self.get(pid) # TODO: begin/rescue # send message #Debugger.signal= # Signal.new end |
Instance Method Details
#send ⇒ Object
send a signal to the child
188 189 190 191 |
# File 'lib/Ptrace.rb', line 188 def send # TODO: begin/rescue #Debugger.signal end |