Class: KB::Condition
- Inherits:
-
Object
- Object
- KB::Condition
- Includes:
- ActiveModel::Attributes, ActiveModel::Model, ActiveModel::Serializers::JSON, Inspectionable
- Defined in:
- lib/kb/models/condition.rb
Constant Summary collapse
- FIELDS =
%i[key name score usualness urgent information urgency].freeze
Instance Method Summary collapse
Methods included from Inspectionable
Instance Method Details
#urgent ⇒ Object
26 27 28 29 30 |
# File 'lib/kb/models/condition.rb', line 26 def urgent return false if urgency == 'low' true end |