Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 9 lines (8 sloc) 0.114 kb
1 2 3 4 5 6 7 8 9
class PriorityConverter
  def self.t2l(p)
    p < 0 ? 0 : p
  end
  
  def self.l2t(p)
    p > 3 ? 3 : p
  end
end
Something went wrong with that request. Please try again.