class Hi
puts "class is being created"
def initialize
a = 5
puts Kernel.local_variables.join(", ")
end
def bye
b = 7
puts Kernel.local_variables.join(", ")
end
end
Hi.new
Hi.new.bye
Y2xhc3MgSGkKCXB1dHMgImNsYXNzIGlzIGJlaW5nIGNyZWF0ZWQiCglkZWYgaW5pdGlhbGl6ZQoJCWEgPSA1CgkJcHV0cyBLZXJuZWwubG9jYWxfdmFyaWFibGVzLmpvaW4oIiwgIikKCWVuZAoJCglkZWYgYnllCgkJYiA9IDcKCQlwdXRzIEtlcm5lbC5sb2NhbF92YXJpYWJsZXMuam9pbigiLCAiKQoJZW5kCmVuZAoKSGkubmV3CkhpLm5ldy5ieWU=