Class: Spectus::Requirement Private
- Inherits:
- BasicObject
- Defined in:
- lib/spectus/requirement.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Requirement level’s base class.
Direct Known Subclasses
Spectus::RequirementLevel::High, Spectus::RequirementLevel::Low, Spectus::RequirementLevel::Medium
Instance Method Summary collapse
-
#initialize(definition, negate = false) ⇒ Requirement
constructor
private
Initialize the requirement level class.
Constructor Details
#initialize(definition, negate = false) ⇒ Requirement
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Initialize the requirement level class.
13 14 15 16 |
# File 'lib/spectus/requirement.rb', line 13 def initialize(definition, negate = false) @definition = definition @negate = negate end |