Class: KB::Condition

Inherits:
Object
  • Object
show all
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

#inspect

Instance Method Details

#urgentObject



26
27
28
29
30
# File 'lib/kb/models/condition.rb', line 26

def urgent
  return false if urgency == 'low'

  true
end