Abstract: Let be the field discriminant of an imaginary quadratic field. We construct a class of elliptic functions associated naturally with the quadratic field which, combined with the general theory of elliptic functions, allows us to provide a unified theory for two fundamental results (one classical and one due to Ramanujan) about the elliptic functions.