Mega Code Archive

 
Categories / Ruby / Statement
 

The code in a block labeled END is automatically run when the program finishes

BEGIN {puts "Hi "} puts "there " END {puts "sweetie."}