I'm sure this is fundamental ruby 101 question and I'm being dense....so nothing new!
I want to make a variable with the path to the "building" folder (not in the program yet, its something I'm playing with). So I figured I could do this:
path = City_Gen.module_path
path.concat "/buildings"
But everytime I run that, it keeps adding another /buildings onto the end. So I get:
C:/Program Files/Google/Google SketchUp 7/Plugins/citygen/modules/buildings/buildings/buildings/buildings/buildings/buildings/buildings
I figure that each time I ran it, it would return the path, and so the concat would just add /buildings onto the end of the path. I wasn't expecting it to actually modify the @module_path variable.
So what would be the correct way to use City_Gen.module_path so I could append my buildings folder onto it, and not change the @module_path and mess up everything else that depends on that variable remaining constant.
Chris

