Add ruby method to clear text