lib/cucumber-rest-bdd/types.rb
def compare_to_string(compare)
    case compare
    when CMP_LESS_THAN then 'fewer than '
    when CMP_MORE_THAN then 'more than '
    when CMP_AT_LEAST then 'at least '
    when CMP_AT_MOST then 'at most '
    when CMP_EQUALS then ''
    else ''
    end
end
# turn a comparison into a string
turn a comparison into a string
turn a comparison into a string
def compare_to_string(compare)
    case compare
    when CMP_LESS_THAN then 'fewer than '
    when CMP_MORE_THAN then 'more than '
    when CMP_AT_LEAST then 'at least '
    when CMP_AT_MOST then 'at most '
    when CMP_EQUALS then ''
    else ''
    end
end
def compare_to_string ( compare ) case compare when CMP_LESS_THAN then 'fewer than ' when CMP_MORE_THAN then 'more than ' when CMP_AT_LEAST then 'at least ' when CMP_AT_MOST then 'at most ' when CMP_EQUALS then '' else '' end end
turn a comparison into a string
turn a comparison into a string
compare