Sample Ruby Code