Method: Feature::Repository::YamlRepository#active_features

Defined in:
lib/feature/repository/yaml_repository.rb

#active_featuresArray<Symbol>

Returns list of active features

Returns:

  • (Array<Symbol>)

    list of active features



43
44
45
46
# File 'lib/feature/repository/yaml_repository.rb', line 43

def active_features
  data = read_file(@yaml_file_name)
  get_active_features(data, @environment)
end