Created
March 31, 2015 13:49
-
-
Save huseyin/03b9ee55bf9b3b308b79 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# + Kernel, Ruby method system | |
# + örnek gösterim | |
trace_var :$_, proc {|x| puts "$_ is now '#{x}'" } | |
$_ = "there" | |
Signal.trap(0, proc { puts "Terminating: #{$$}" }) | |
Signal.trap("CLD") { puts "Child died" } | |
fork && Process.wait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment