Class: ConfigCat::LocalDictionaryFlagOverrides
- Inherits:
-
FlagOverrides
- Object
- FlagOverrides
- ConfigCat::LocalDictionaryFlagOverrides
- Defined in:
- lib/configcat/localdictionarydatasource.rb
Instance Method Summary collapse
- #create_data_source(log) ⇒ Object
-
#initialize(source, override_behaviour) ⇒ LocalDictionaryFlagOverrides
constructor
A new instance of LocalDictionaryFlagOverrides.
Constructor Details
#initialize(source, override_behaviour) ⇒ LocalDictionaryFlagOverrides
Returns a new instance of LocalDictionaryFlagOverrides.
7 8 9 10 |
# File 'lib/configcat/localdictionarydatasource.rb', line 7 def initialize(source, override_behaviour) @source = source @override_behaviour = override_behaviour end |
Instance Method Details
#create_data_source(log) ⇒ Object
12 13 14 |
# File 'lib/configcat/localdictionarydatasource.rb', line 12 def create_data_source(log) return LocalDictionaryDataSource.new(@source, @override_behaviour) end |