Ruby script showing usage of each construct