classPersonattr_accessor:name,:birthday,:genderdefinitialize(name,birthday,gender)@name=name@birthday=birthday@gender=genderenddefcompany=nameself.company=nameenddefposition=positionself.position=positionenddefhobby*arg"I like #{arg.split(',')}"endendme=Person.new("徐耀","1991-02-03",1)me.nickname=%W(老徐 徐逗逗)me.company="上海微客来软件技术有限公司"#TODO update at 2015-7-15me.company="苏州医云健康有限公司"me.position="Ruby Engineer"me.hobby"coding","reading","music","traveling","grils"me.weibo="http://weibo.com/1676361452"