||ArrayTo is a utility file for use by other plugins. It converts the elements of an array to integers or floats, and is called by one of the following methods:
It is not directly accessible from the SketchUp user interface other than through the Ruby console, and does nothing to affect the model. Typically, only those developing plugins would need to download this, as it is included with the plugins that need to reference it.
- array.to_f (returns a new array comprised of the elements of array converted to floats)
- array.to_f! (converts all members of array to floats and returns array)
- array.to_i (returns a new array comprised of the elements of array converted to integers)
- array.to_i! (converts all members of array to integers and returns array)