Class: Unleash::Strategy::Default

Inherits:
Base
  • Object
show all
Defined in:
lib/unleash/strategy/default.rb

Instance Method Summary collapse

Instance Method Details

#is_enabled?(_params = {}, _context = nil) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/unleash/strategy/default.rb', line 8

def is_enabled?(_params = {}, _context = nil)
  true
end

#nameObject



4
5
6
# File 'lib/unleash/strategy/default.rb', line 4

def name
  'default'
end