Ruth is a young orphan girl working in a respectable sweatshop for the overworked Mrs Mason. She is selected to go to a ball to repair torn dresses. At the ball she meets the aristocratic Henry Bellingham, a rake figure who is instantly attracted to her. They meet again by chance and form a secret friendship; on an outing together they are spotted by Mrs Mason who, fearing for her shop's reputation, dismisses Ruth.
Alone in the world, Ruth is whisked away by Bellingham to London where it is implied she becomes a fallen woman. They go on holiday to Wales together and there on a country walk Ruth meets the disabled and kind Mr Benson. Bellingham falls sick with fever and the hotel calls for his mother who arrives and is disgusted by her son's having lived in sin with Ruth. Bellingham is persuaded by his mother to abandon Ruth in Wales, leaving her some money.
A distraught Ruth attempts suicide but is spotted by Mr Benson who helps comfort her. When he learns of her past and that she is alone he brings her back to his home town, where he is a Dissenting minister, to stay with him and his formidable but kind sister Faith. When they learn that Ruth is pregnant they decide to lie to the town and claim that she is a widow called Mrs Denbigh, to protect her from a society which would otherwise shun her.
Ruth has her baby, whom she names Leonard. She is transformed into a Madonna type figure, calm and innocent once more. The rich local businessman Mr Bradshaw admires Ruth and employs her as a governess for his children, including his eldest daughter Jemima who is in awe of the beautiful Ruth.
Ruth goes away with the Bradshaws to a seaside house while one of Mr Bradshaw's children is convalescing from a long illness. Mr Bradshaw brings Mr Donne, a man whom he is sponsoring to become their local MP, to the seaside to impress him. Ruth recognises Mr Donne as actually being Mr Bellingham and the two have a confrontation on the beach. Bellingham offers to marry Ruth as he claims he still loves her and for the sake of their child, Ruth rejects him saying she will not let Leonard come in contact with a man like him.
From local gossip Jemima discovers about Ruth's past, though she is still unaware that it was Mr Donne who is Leonard's father. Jemima is headstrong and already jealous that her suitor Mr Farquhar, her father's business partner, seems to admire Ruth over her. The truth is Mr Farquhar is put off by Jemima's erratic behaviour, caused by her father's good intentioned interference. Jemima however decides to keep quiet over Ruth's past as she realises that she comes from a more privileged background and the same could well have happened to her, had she been in Ruth's situation.
Mr Bradshaw discovers also from local gossip however that Ruth is a fallen woman and despite Jemima's passionate defence of Ruth she is thrown out of the house and sacked. Ruth goes home and has to reveal to Leonard that he is in fact illegitimate; he is devastated and ashamed by the news. Mr Bradshaw also goes to his old friend Mr Benson and argues with him as he allowed the lie to be told and for Ruth to enter not only his but also Mr Bradshaw's house.
Jemima and Mr Farquhar marry and have their own child and form a good friendship with Ruth and Leonard but they are still on the outskirts of society. Ruth goes among the poor to work as a nurse to the sick and gains a good reputation there, making Leonard proud of his mother once more and restoring their relationship. Mr Bradshaw's son is found to have been embezzling the company's funds and his father disowns him. However, when his son is later involved in an accident, Mr Bradshaw is distraught and realises that his morals had been perhaps too heavy-handed in the past. His son recovers and Mr Bradshaw starts to rethink his life.
Ruth has to give up her work as there is a catching fever in the environment. A local doctor offers to sponsor Leonard's studies at a good school and the Farquhars offer to go away on holiday with Ruth and Leonard. However before Ruth has made a decision she hears that Mr Donne is very sick; she confides in the doctor the truth about who Mr Donne really is, and goes to him. He is delirious with fever and does not recognise her but she nurses him back to health.
Ruth however falls sick and dies from the illness. At the funeral many of the poor that Ruth had looked after praise her, and the chapel is full of people that loved Ruth, despite her being a fallen woman. Mr Donne comes to Mr Benson's house and sees Ruth dead, he is momentarily sad and offers money to Mr Benson who realises who he must be and throws him out of the house.
The novel ends with Mr Bradshaw finding a weeping Leonard at his mother's grave, whom he leads home to Mr Benson, and reforming his friendship with Mr Benson realising that as a member of the society that ostracised Ruth, he is also responsible for her death.
Output: In the beginning of the story, whom does Ruth form a secret friendship with?