Ruby - Error Handling
What will this Ruby code print?
def check(value)
raise ArgumentError, "Value must be positive" if value <= 0
"Value is #{value}"
end
puts check(-1)