Doberman learns to eat leaves from goat pals