Class: Sketchup::OptionsManager
- Inherits:
-
Object
- Object
- Sketchup::OptionsManager
- Includes:
- Enumerable
- Defined in:
- lib/sketchup-api-stubs/stubs/Sketchup/OptionsManager.rb
Overview
The OptionsManager class manages various kinds of OptionsProviders on a Model.
Instance Method Summary collapse
-
#[](arg) ⇒ Object
The [] method is used to get an option provider by name or index.
-
#count ⇒ Object
Integer - number of OptionsProvider objects if successful.
-
#each {|opsprovider| ... } ⇒ Object
The each method is used to iterate through options providers.
-
#keys ⇒ Object
The keys method is used to get a list of keys in the OptionsManager.
- #length ⇒ Integer
-
#size ⇒ Integer
The #size method returns the number of OptionsProvider objects inside this OptionsManager.
Instance Method Details
#[](index) ⇒ Object #[](name) ⇒ Object
The [] method is used to get an option provider by name or index.
For example, to get the UnitsOptions on the Model, you could use the command:
47 48 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/OptionsManager.rb', line 47 def [](arg) end |
#count ⇒ Object
65 66 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/OptionsManager.rb', line 65 def count end |
#each {|opsprovider| ... } ⇒ Object
The each method is used to iterate through options providers.
81 82 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/OptionsManager.rb', line 81 def each end |
#keys ⇒ Object
The keys method is used to get a list of keys in the OptionsManager.
99 100 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/OptionsManager.rb', line 99 def keys end |
#length ⇒ Integer
113 114 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/OptionsManager.rb', line 113 def length end |
#size ⇒ Integer
The #size method returns the number of Sketchup::OptionsProvider objects inside this Sketchup::OptionsManager.
128 129 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/OptionsManager.rb', line 128 def size end |