Class: Optify::OptionsProvider
- Inherits:
-
Object
- Object
- Optify::OptionsProvider
- Defined in:
- lib/optify_ruby/implementation.rb
Overview
Provides configurations based on keys and enabled feature names.
Instance Method Summary collapse
-
#features_with_metadata ⇒ Object
: -> Hash[String, OptionsMetadata].
- #get_options(key, feature_names, config_class, cache_options = nil, preferences = nil) ⇒ Object
-
#init ⇒ OptionsProvider
(Optional) Eagerly initializes the cache.
Instance Method Details
#features_with_metadata ⇒ Object
: -> Hash[String, OptionsMetadata]
24 25 26 |
# File 'lib/optify_ruby/implementation.rb', line 24 def end |
#get_options(key, feature_names, config_class, cache_options = nil, preferences = nil) ⇒ Object
29 30 31 |
# File 'lib/optify_ruby/implementation.rb', line 29 def (key, feature_names, config_class, = nil, preferences = nil) (key, feature_names, config_class, , preferences) end |
#init ⇒ OptionsProvider
(Optional) Eagerly initializes the cache. : -> OptionsProvider
36 37 38 39 |
# File 'lib/optify_ruby/implementation.rb', line 36 def init _init self end |