# Error defining UI\_need help urgently

**URL:** <https://www.ruby-forum.com/t/error-defining-ui-need-help-urgently/196068>\
**Category:** Ruby\
**Created:** [October 6, 2010, 9:43am UTC](https://www.ruby-forum.com/t/error-defining-ui-need-help-urgently/196068 "2010-10-06T09:43:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![datulravi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c37758/32.png) [@datulravi](https://www.ruby-forum.com/u/datulravi)\
**Post date:** [October 6, 2010, 9:43am UTC](https://www.ruby-forum.com/t/error-defining-ui-need-help-urgently/196068/1 "2010-10-06T09:43:51Z")

</div>

Please find the .txt file attached. I have been trying to build a  
conceptual design program for slabs using RUBY for Sketchup and have  
been getting some syntax error messages as shown below. Please help  
somebody! thanks…

Error Loading File slab.rb  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:318:  
syntax error  
defaults4 = [‘1. 0.05’,‘1. 0.05’,‘1. 0.05’,‘1. 0.05’]  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:318:  
syntax error  
defaults4 = [‘1. 0.05’,‘1. 0.05’,‘1. 0.05’,‘1. 0.05’]  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:318:  
syntax error  
defaults4 = [‘1. 0.05’,‘1. 0.05’,‘1. 0.05’,‘1. 0.05’]  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:318:  
syntax error  
defaults4 = [‘1. 0.05’,‘1. 0.05’,‘1. 0.05’,‘1. 0.05’]  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319:  
syntax error  
@kx\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319:  
syntax error  
@kx\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319:  
syntax error  
@kx\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319:  
syntax error  
@kx\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319:  
syntax error  
@kx\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319:  
syntax error  
@kx\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319:  
syntax error  
@kx\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319:  
syntax error  
@kx\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319:  
syntax error  
@kx\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319:  
syntax error  
@kx\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319:  
syntax error  
@kx\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319:  
syntax error  
@kx\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:319:  
syntax error  
@kx\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320:  
syntax error  
@kx\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320:  
syntax error  
@kx\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320:  
syntax error  
@kx\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320:  
syntax error  
@kx\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320:  
syntax error  
@kx\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320:  
syntax error  
@kx\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320:  
syntax error  
@kx\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320:  
syntax error  
@kx\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320:  
syntax error  
@kx\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320:  
syntax error  
@kx\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320:  
syntax error  
@kx\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320:  
syntax error  
@kx\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:320:  
syntax error  
@kx\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321:  
syntax error  
@ky\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321:  
syntax error  
@ky\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321:  
syntax error  
@ky\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321:  
syntax error  
@ky\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321:  
syntax error  
@ky\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321:  
syntax error  
@ky\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321:  
syntax error  
@ky\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321:  
syntax error  
@ky\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321:  
syntax error  
@ky\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321:  
syntax error  
@ky\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321:  
syntax error  
@ky\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321:  
syntax error  
@ky\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:321:  
syntax error  
@ky\_nve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322:  
syntax error  
@ky\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322:  
syntax error  
@ky\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322:  
syntax error  
@ky\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322:  
syntax error  
@ky\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322:  
syntax error  
@ky\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322:  
syntax error  
@ky\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322:  
syntax error  
@ky\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322:  
syntax error  
@ky\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322:  
syntax error  
@ky\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322:  
syntax error  
@ky\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322:  
syntax error  
@ky\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322:  
syntax error  
@ky\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:322:  
syntax error  
@ky\_pve = ['1. 0.05 |2. 0.06 |3. 0.07 |4. 0.08 |5. 0.09 |6. 0.10 |7.  
0.11 |8. 0.12 |9. 0.13 |10. 0.14 |11. 0.15 |12. 0.16 |13. 0.167 ']  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:324:  
syntax error  
title4=‘Choose the lower closest value of corresponding ‘K’ as  
displayed in the messagebox earlier’  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:324:  
syntax error  
title4=‘Choose the lower closest value of corresponding ‘K’ as  
displayed in the messagebox earlier’  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:405:  
syntax error  
prompts5 = [‘Span type’]  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:406:  
syntax error  
defaults5 = [‘1. Simply supported’]  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:407:  
syntax error  
@t\_slab = [‘1. Simply supported |2. Interior span |3. End span |4.  
Cantilever’]  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:407:  
syntax error  
@t\_slab = [‘1. Simply supported |2. Interior span |3. End span |4.  
Cantilever’]  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:407:  
syntax error  
@t\_slab = [‘1. Simply supported |2. Interior span |3. End span |4.  
Cantilever’]  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:407:  
syntax error  
@t\_slab = [‘1. Simply supported |2. Interior span |3. End span |4.  
Cantilever’]  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:409:  
syntax error  
title5=‘Please select the type of the span’  
^  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:409:  
unterminated string meets end of file  
C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/slab.rb:409:  
syntax error

---

<div class="post-metadata">

**Author:** ![datulravi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c37758/32.png) [@datulravi](https://www.ruby-forum.com/u/datulravi)\
**Post date:** [October 6, 2010, 10:47am UTC](https://www.ruby-forum.com/t/error-defining-ui-need-help-urgently/196068/2 "2010-10-06T10:47:28Z")

</div>

On Wed, Oct 6, 2010 at 1:13 PM, Atul D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Please find the .txt file attached. I have been trying to build a  
> conceptual design program for slabs using RUBY for Sketchup and have  
> been getting some syntax error messages as shown below. Please help  
> somebody! thanks…

You’re missing a closing quote in your definition of prompt4. (A good  
editor or IDE with syntax highlighting and autoindent would have  
helped find that)

martin

---

<div class="post-metadata">

**Author:** ![datulravi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c37758/32.png) [@datulravi](https://www.ruby-forum.com/u/datulravi)\
**Post date:** [October 6, 2010, 4:24pm UTC](https://www.ruby-forum.com/t/error-defining-ui-need-help-urgently/196068/3 "2010-10-06T16:24:51Z")

</div>

Martin DeMello wrote:

> On Wed, Oct 6, 2010 at 1:13 PM, Atul D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> wrote:
> 
> > Please find the .txt file attached. I have been trying to build a  
> > conceptual design program for slabs using RUBY for Sketchup and have  
> > been getting some syntax error messages as shown below. Please help  
> > somebody! thanks…
> 
> You’re missing a closing quote in your definition of prompt4. (A good  
> editor or IDE with syntax highlighting and autoindent would have  
> helped find that)
> 
> martin

Thanks martin… I moified it like u said but am getting the same error  
message! wonder whats wrong…

---

<div class="post-metadata">

**Author:** ![datulravi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c37758/32.png) [@datulravi](https://www.ruby-forum.com/u/datulravi)\
**Post date:** [October 6, 2010, 9:19pm UTC](https://www.ruby-forum.com/t/error-defining-ui-need-help-urgently/196068/4 "2010-10-06T21:19:07Z")

</div>

On Wed, Oct 6, 2010 at 7:58 PM, Atul D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Thanks martin… I moified it like u said but am getting the same error  
> message! wonder whats wrong…

Do you have a syntax highlighting and indenting editor, or a ruby  
plugin for your favourite IDE? Just select the entire program and hit  
autoindent, and the indentation, the highlighting or both should go  
awry where it hits any missing terminators, end statements, etc.

See

> **[List of Ruby Editors](https://docs.google.com/spreadsheets/d/1O_4dvSlh70xyRSZ_ChC8rDuWGaUOhy3_dsdgQBZEHnE/edit?hl=en&hl=en)**
>
> Matrix
> 
> notepad++,Votes (if you like a certain editor, add 1 to its vote-be honest!),Price,Supported Platforms,Integrated Debugger
> 0,...

if you want to pick one out.

Also check this thread out:

> <https://stackoverflow.com/questions/1805146/where-can-i-find-an-actively-developed-lint-tool-for-ruby>

martin
