class Lookbook::PositionTag

def value

def value
  if text.present?
    int = text.to_i
    (int == 0) ? DEFAULT_POSITION : int
  else
    DEFAULT_POSITION
  end
end