Class Feature::Repository::SimpleRepository
In: lib/feature/repository/simple_repository.rb
Parent: Object

SimpleRepository for active feature list Simply add features to that should be active, no config or data sources required.

Example usage:

  repository = SimpleRepository.new
  repository.add_active_feature(:feature_name)
  # use repository with Feature

Methods

Public Class methods

Constructor

Public Instance methods

Returns list of active features

@return [Array<Symbol>] list of active features

Add an active feature to repository

@param [Symbol] feature the feature to be added

[Validate]