shark/test_files/unless_until.nila in nilac-0.0.4.1.3 vs shark/test_files/unless_until.nila in nilac-0.0.4.1.4
- old
+ new
@@ -3,8 +3,15 @@
# Examples are from http://www.skorks.com/2009/09/a-wealth-of-ruby-loops-and-iterators/ and
# http://37signals.com/svn/posts/2699-making-sense-with-rubys-unless
puts "There's no such person" unless person.present?
-i = 0
+unless person.present?
+ puts "There's no such person"
+end
-i += 1 until i > 10
+i=1
+until i > 10
+ print "#{i} "
+ i+=1
+ #redo if i > 10
+end
\ No newline at end of file