Ruby - Methods
You have a string
str = " Ruby ". Which code snippet correctly removes leading and trailing spaces and modifies str itself?