Class: Sketchup::ExtensionsManager
- Inherits:
-
Object
- Object
- Sketchup::ExtensionsManager
- Includes:
- Enumerable
- Defined in:
- SketchUp/Sketchup/ExtensionsManager.rb
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) ⇒ Object
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) ⇒ Object
The [] method is used to get an extension by name, index or ID.
44 45 |
# File 'SketchUp/Sketchup/ExtensionsManager.rb', line 44 def [](index_or_name) end |
#count ⇒ Integer
61 62 |
# File 'SketchUp/Sketchup/ExtensionsManager.rb', line 61 def count end |
#each {|extension| ... } ⇒ Object
The each method is used to iterate through extensions.
77 78 |
# File 'SketchUp/Sketchup/ExtensionsManager.rb', line 77 def each end |
#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.
93 94 |
# File 'SketchUp/Sketchup/ExtensionsManager.rb', line 93 def keys end |
#length ⇒ Integer
The #length method returns the number of SketchupExtension objects inside this ExtensionsManager.
108 109 |
# File 'SketchUp/Sketchup/ExtensionsManager.rb', line 108 def length end |