fork(1) download
  1. class Hi
  2. puts "class is being created"
  3. def initialize
  4. a = 5
  5. puts Kernel.local_variables.join(", ")
  6. end
  7. end
  8.  
  9. Hi.new
  10. Hi.new
Success #stdin #stdout 0.02s 7408KB
stdin
Standard input is empty
stdout
class is being created
a
a