Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def test(a)
- a+=2
- puts a
- if a > 2
- puts "a > 2"
- end
- end
- test(1) #correct expected response: 2 / a > 2
- test(0) #correct expected response: 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement