Class: ModraUp::OptionsManager
- Inherits:
-
Object
- Object
- ModraUp::OptionsManager
- Includes:
- Enumerable
Overview
Model options collection. Its providers, in order, are "PageOptions", "SlideshowOptions", and "UnitsOptions". The first two control scene transitions and slide duration under Model Info → Animation. The third reads and writes the model's unit settings.
Instance Method Summary # collapse
-
#[] ⇒ ModraUp::OptionsProvider, nil
Returns the option provider by name or index. Index 0/1/2 correspond to "PageOptions", "SlideshowOptions", "UnitsOptions"; others are nil.
-
#keys ⇒ Array<String>
List of provider names.
-
#size ⇒ Integer
Number of providers.
-
#each ⇒ nil, Enumerator
Iterate over the option providers.
Instance Method Details
options[name] ⇒ ModraUp::OptionsProvider, niloptions[index] ⇒ ModraUp::OptionsProvider, nil
Returns the option provider by name or index. Index 0/1/2 correspond to "PageOptions", "SlideshowOptions", "UnitsOptions"; others are nil.
options.keys ⇒ Array<String>
List of provider names.
options.size ⇒ Integer
Number of providers.
options.each {|provider| ... } ⇒ niloptions.each ⇒ Enumerator
Iterate over the option providers.