Module: Rscratch::ExceptionsHelper
- Defined in:
- app/helpers/rscratch/exceptions_helper.rb
Instance Method Summary collapse
Instance Method Details
#get_issue_color(object) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'app/helpers/rscratch/exceptions_helper.rb', line 3 def get_issue_color(object) if object.resolved? return "green" elsif object.ignored? return "grey" else return "red" end end |