Changes not empty? to any?

This commit is contained in:
Jonas Schubert Erlandsson
2013-07-01 16:12:58 +02:00
parent 429e492984
commit f91233450f
+1 -1
View File
@@ -53,7 +53,7 @@ module Liquid
# are there any not handled interrupts?
def has_interrupt?
!@interrupts.empty?
@interrupts.any?
end
# push an interrupt to the stack. this interrupt is considered not handled.