[ruby] s/::/./ for calling class methods