Sha256: 37e7afbf03ca7cab379f2077175b9d8c6d28c11231b4b7df35ec834d733387fe

Contents?: true

Size: 323 Bytes

Versions: 28

Compression:

Stored size: 323 Bytes

Contents

module Unleash
  module Strategy
    class NotImplemented < RuntimeError
    end

    class Base
      def name
        raise NotImplemented, "Strategy is not implemented"
      end

      def is_enabled?(_params = {}, _context = nil)
        raise NotImplemented, "Strategy is not implemented"
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
unleash-5.1.1 lib/unleash/strategy/base.rb
unleash-5.1.0 lib/unleash/strategy/base.rb
unleash-5.0.7 lib/unleash/strategy/base.rb
unleash-5.0.6 lib/unleash/strategy/base.rb
unleash-5.0.5 lib/unleash/strategy/base.rb
unleash-5.0.4 lib/unleash/strategy/base.rb
unleash-5.0.3 lib/unleash/strategy/base.rb
unleash-5.0.2 lib/unleash/strategy/base.rb
unleash-5.0.1 lib/unleash/strategy/base.rb
unleash-5.0.0 lib/unleash/strategy/base.rb
unleash-4.6.0 lib/unleash/strategy/base.rb
unleash-4.5.0 lib/unleash/strategy/base.rb
unleash-4.4.4 lib/unleash/strategy/base.rb
unleash-4.4.3 lib/unleash/strategy/base.rb
unleash-4.4.2 lib/unleash/strategy/base.rb
unleash-4.4.1 lib/unleash/strategy/base.rb
unleash-4.4.0 lib/unleash/strategy/base.rb
unleash-4.3.0 lib/unleash/strategy/base.rb
unleash-4.2.1 lib/unleash/strategy/base.rb
unleash-4.2.0 lib/unleash/strategy/base.rb