class Divisio
  module BaseAdapter
    extend self

    def split(experiment_name, variants, identity)
      ModuloAlgorithm.new(experiment_name+identity.to_s, variants).calc
    end

    def delete_experiment_for_identity(identity, experiment_name)
      raise NotImplementedError
    end
  end
end

class Divisio
  module BaseAdapter
    extend self

    def split(experiment_name, variants, identity)
      ModuloAlgorithm.new(experiment_name.to_s+identity.to_s, variants).calc
    end

    def delete_experiment_for_identity(identity, experiment_name)
      raise NotImplementedError
    end
  end
end

Allow for experiment names that are keys
Allow for experiment names that are keys
