ring(A)
This function is provided by the package BettiCharacters.
Returns the polynomial ring associated with the object being acted upon.