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