class Bundler::FeatureFlag

def self.settings_flag(flag, &default)

def self.settings_flag(flag, &default)
  unless Bundler::Settings::BOOL_KEYS.include?(flag.to_s)
    raise "Cannot use `#{flag}` as a settings feature flag since it isn't a bool key"
  end
  settings_method("#{flag}?", flag, &default)
end