iain feedback

This commit is contained in:
Jake Olney
2022-06-27 15:10:22 -04:00
committed by Melanie Wang
parent 95eb5d6036
commit 4ec9db3f99
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -843,7 +843,6 @@ module Liquid
# - [`nil`](/api/liquid/basics#nil)
# @liquid_syntax variable | default: variable
# @liquid_optional_param allow_false [boolean] Whether to use false values instead of the default.
# @liquid_return [variable]
def default(input, default_value = '', options = {})
options = {} unless options.is_a?(Hash)
false_check = options['allow_false'] ? input.nil? : !Liquid::Utils.to_liquid_value(input)
+1 -1
View File
@@ -4,7 +4,7 @@ module Liquid
# @liquid_public_docs
# @liquid_type tag
# @liquid_category theme
# @liquid_name include
# @liquid_name render
# @liquid_summary
# Renders a [snippet](/themes/architecture#snippets) or [app block](/themes/architecture/sections/section-schema#render-app-blocks).
# @liquid_description