return array with return type and ruby string