I watched a few code examples and I came across this line:
puts "child #$$ accepting..."
which outputs
>> child 7231 accepting...
$$ seems to be a PID, and it uses some abbreviation for the usual syntax for interpolating strings #{$$} . However, I can not find the documentation. I'm curious what other short tricks are available (or confuse me).
Where are the documents? Why is this special?
Dane o'connor
source share