ruby methods.