A study demo for ruby