class SimpleFeatureFlags::TestRamStorage
Public Instance Methods
active?(feature)
click to toggle source
Calls superclass method
SimpleFeatureFlags::RamStorage#active?
# File lib/simple_feature_flags/test_ram_storage.rb, line 5 def active?(feature) raise(FlagNotDefinedError, "Feature Flag `#{feature}` is not defined as mandatory in #{file}") unless mandatory_flags.include?(feature.to_s) super end