From f91233450f5e3a956bca30be235051e720dc5b6f Mon Sep 17 00:00:00 2001 From: Jonas Schubert Erlandsson Date: Mon, 1 Jul 2013 16:12:58 +0200 Subject: [PATCH] Changes not empty? to any? --- lib/liquid/context.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/liquid/context.rb b/lib/liquid/context.rb index 307cf2a..452b750 100644 --- a/lib/liquid/context.rb +++ b/lib/liquid/context.rb @@ -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.