Learning ruby，test demo.