Sha256: abf6e35fd95660d5912ef6f8d44d3265985ff9d2f5034b66882d37d2ac19df52
Contents?: true
Size: 327 Bytes
Versions: 13
Compression:
Stored size: 327 Bytes
Contents
# frozen_string_literal: true module ThinkFeelDoEngine # Used to change color of table row based on emotion module EmotionsHelper def emotion_class(emotional_rating) case emotional_rating.rating when 0..4 "danger" when 6..10 "success" else "" end end end end
Version data entries
13 entries across 13 versions & 1 rubygems