Class: Sketchup::ExtensionsManager
- Inherits:
-
Object
- Object
- Sketchup::ExtensionsManager
- Includes:
- Enumerable
Overview
The ExtensionsManager class provides a way of accessing the SketchupExtensions that have been registered via the Sketchup.register_extension method.
There is only one ExtensionsManager available. You access it via the Sketchup.extensions method.
Instance Method Summary # collapse
-
#[](index_or_name) ⇒ SketchupExtension?
The [] method is used to get an extension by name, index or ID.
- #count ⇒ Integer
-
#each {|extension| ... } ⇒ Object
The each method is used to iterate through extensions.
-
#keys ⇒ Object
The keys method is used to get a list of keys in the ExtensionsManager, which are the same as the names of the extensions.
-
#length ⇒ Integer
The #length method returns the number of SketchupExtension objects inside this ExtensionsManager.
- #size ⇒ Integer
Instance Method Details
↑ #[](index_or_name) ⇒ SketchupExtension?
The [] method is used to get an extension by name, index or ID.
↑ #count ⇒ Integer
↑ #each {|extension| ... } ⇒ Object
The each method is used to iterate through extensions.
↑ #keys ⇒ Object
The keys method is used to get a list of keys in the ExtensionsManager, which are the same as the names of the extensions.
↑ #length ⇒ Integer
The #length method returns the number of SketchupExtension objects inside this ExtensionsManager.