Ruby class demo