Code samples of different ruby concepts