lib/smooth_change.rb
# frozen_string_literal: true
require_relative "smooth_change/version"
require_relative "smooth_change/configuration"
require_relative "smooth_change/client_feature_toggler"
require_relative "smooth_change/feature"
require_relative "smooth_change/current"
require_relative "smooth_change/adapters/yaml"
require_relative "smooth_change/adapters/memory"
require_relative "smooth_change/action_controller/helper"
module SmoothChange # rubocop:disable Style/Documentation
class Error < StandardError; end
class << self
def configure
yield configuration
end
def configuration
@configuration ||= Configuration.new
end
end
end