Skip to content

Conversation

@zerobase
Copy link

@parkr
Copy link
Member

parkr commented Sep 10, 2013

Is there documentation on that method in the Liquid API you could point me to?

@zerobase
Copy link
Author

I couldn't find any document on Tag#blank? but you can find how it works in this test code: liquid/test/liquid/tags/include_tag_test.rb.

If you remove the CustomInclude#blank? (line 207-209) you'll get a failure:

test_custom_include_tag_within_if_statement(IncludeTagTest) [/Users/ishibashi/dev/liquid/test/liquid/tags/include_tag_test.rb:187]:
<"custom_foo_if_true"> expected but was
<"">.

@parkr
Copy link
Member

parkr commented Sep 11, 2013

I'm 👍 on this. @mattr-?

@mattr-
Copy link
Member

mattr- commented Sep 12, 2013

:+1 :shipit:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants