Merge pull request #221 from d-Pixie/master

Changes not empty? to any?
This commit is contained in:
Florian Weingarten
2013-07-01 07:55:26 -07:00

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.