gender in the importance of being earnest essay Gender in 'a doll's house' and 'the importance of being earnest' a doll's house and the importance of being earnest were both written in the late nineteenth century at a period in time when gender roles in society were not only significant to the structure of society but were restrictive and oppressive to individuals.