Sha256: 4bd707ccc3da678ced47b0e239c148e2d416224542b99a543b313899d87f3c42
Contents?: true
Size: 544 Bytes
Versions: 3
Compression:
Stored size: 544 Bytes
Contents
require 'flip_fab/contextual_feature' require 'flip_fab/features_by_name' require 'flip_fab/feature' require 'flip_fab/helper' require 'flip_fab/persistence' require 'flip_fab/cookie_persistence' module FlipFab extend self attr_reader :features def define_feature name, options={} @features ||= {} @features[name] = Feature.new name, options end @features ||= FeaturesByName.new end if defined?(ActionController) ActionController::Base.send :include, FlipFab::Helper ActionController::Base.helper FlipFab::Helper end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
flip_fab-1.0.1 | lib/flip_fab.rb |
flip_fab-1.0.0 | lib/flip_fab.rb |
flip_fab-0.0.1 | lib/flip_fab.rb |