mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
Compare commits
1 Commits
default-bl
...
force-to_l
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e99c7e2eec |
@@ -60,3 +60,9 @@ class NilClass
|
||||
self
|
||||
end
|
||||
end
|
||||
|
||||
class Proc
|
||||
def to_liquid # :nodoc:
|
||||
self
|
||||
end
|
||||
end
|
||||
|
||||
@@ -398,7 +398,7 @@ module Liquid
|
||||
|
||||
def each
|
||||
@input.each do |e|
|
||||
yield(e.respond_to?(:to_liquid) ? e.to_liquid : e)
|
||||
yield(e.to_liquid)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user