Class: SimpleSwitch::FeatureManager

Inherits:
Object
  • Object
show all
Defined in:
lib/simple_switch/feature_manager.rb

Class Method Summary collapse

Class Method Details

.get_managerObject



4
5
6
7
8
9
10
11
12
# File 'lib/simple_switch/feature_manager.rb', line 4

def get_manager
  case SimpleSwitch.feature_store
  when :database
    FeatureManagerDb.instance
  when :yml
    FeatureManagerYaml.instance
  else
  end
end