getting text from text area

<textarea id="selectedRowsId" style="width: 60rem;min-height:8rem;
margin: 1rem 0 1rem 4rem;">Kiran Trimukhe</textarea>

I want to get text here it is "Kiran Trimukhe"

I want to automate this using watir webdrivver

Looking at the cheat sheet (https://github.com/watir/watir/wiki/Cheat-Sheet) I’d recommend you try:

browser = Watir::Browser.start(‘http://your-url.com’)

browser.textarea(:id, ‘selectedRowsId’).text

browser.close