Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
Adding to the $: variable
-
I am finding the following code very convenient:
$;.push(some_sub_folder_in_plugins_that_contains_other_ruby_files)Then I can use the require command for any ruby files that are in my subfolder:
require 'some_file_in_subfolder' require 'some_other_file_in_subfolder' etc.Are they any reasons why I shouldn't add directories to the $: variable?
-
hm... that's an interesting question. That snippet looks very useful. Something SKX could use.
Advertisement