Class: Superfeature::Limit::Boolean

Inherits:
Base
  • Object
show all
Defined in:
lib/superfeature.rb

Instance Method Summary collapse

Methods inherited from Base

#disabled?

Constructor Details

#initialize(enabled:) ⇒ Boolean

Returns a new instance of Boolean.



81
82
83
# File 'lib/superfeature.rb', line 81

def initialize(enabled:)
  @enabled = enabled
end

Instance Method Details

#enabled?Boolean

Returns:



85
86
87
# File 'lib/superfeature.rb', line 85

def enabled?
  @enabled
end