class Lookbook::PriorityTag
def value
def value if text.present? int = text.to_i (int == 0) ? DEFAULT_PRIORITY : int else DEFAULT_PRIORITY end end
def value if text.present? int = text.to_i (int == 0) ? DEFAULT_PRIORITY : int else DEFAULT_PRIORITY end end