S-adenosyl-L-methionine-dependent methyltransferase that has the ability to methylate both RNAs and proteins. Involved in pre-rRNA processing by catalyzing the site-specific 2′-hydroxyl methylation of ribose moieties in pre-ribosomal RNA. Also acts as a protein methyltransferase by mediating methylation of glutamine residues (By similarity).