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