I’m new to Groovy, so forgive me if this is an elementary question.
I have a function that is “fixing” the settings variable for my needs. Some of it is working around known bugs, others are to add some information that is needed across the board.
When I update the settings variable, it is only updated inside the scope of the calling function - how do I bust out of that limitation?
I know there exists a state variable - but I’d prefer to have all my settings in one place.