Sha256: 048778fccd8d11fe01c067bf999c237505f4f2f8c4bb29fd036c12e98f788486

Contents?: true

Size: 506 Bytes

Versions: 5

Compression:

Stored size: 506 Bytes

Contents

Flipflop.configure do
  # Strategies will be used in the order listed here.
  strategy :cookie
  strategy :active_record
  strategy :default

  # Other strategies:
  #
  # strategy :sequel
  # strategy :redis
  #
  # strategy :query_string
  # strategy :session
  #
  # strategy :my_strategy do |feature|
  #   # ... your custom code here; return true/false/nil.
  # end

  # Declare your features, e.g:
  #
  # feature :world_domination,
  #   default: true,
  #   description: "Take over the world."
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
flipflop-2.8.0 lib/generators/flipflop/features/templates/features.rb
flipflop-2.7.1 lib/generators/flipflop/features/templates/features.rb
flipflop-2.7.0 lib/generators/flipflop/features/templates/features.rb
flipflop-2.6.0 lib/generators/flipflop/features/templates/features.rb
flipflop-2.5.0 lib/generators/flipflop/features/templates/features.rb