lib/comparison/presenter.rb
##
# Returns a string description of the direction of change. Possible
# descriptions are "positive", "negative", and "nochange".
Returns a string description of the direction of change.
Returns a string description of the direction of change .
def description
      if positive?
        'positive'
      elsif negative?
        'negative'
      else
        'nochange'
      end
    end
def description if positive? 'positive' elsif negative? 'negative' else 'nochange' end end
Returns a string description of the direction of change.
Returns a string description of the direction of change .