Package liqp.filters
Class Push
java.lang.Object
liqp.LValue
liqp.filters.Filter
liqp.filters.Push
Jekyll-specific filter for array manipulation: Return a new array with the given item added to the
end. If the filtered value is not an array, it is returned unmodified.
- Author:
- Christian Kohlschütter
- See Also:
-
Field Summary
Fields inherited from class liqp.LValue
BREAK, CONTINUE, rubyDateTimeFormat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(Object value, TemplateContext context, Object... params) Applies the filter on the 'value', with the given 'context'.Methods inherited from class liqp.LValue
areEqual, asAppendableObject, asArray, asBoolean, asFormattedNumber, asList, asMap, asNumber, asRubyDate, asStrictNumber, asString, asTemporal, canBeDouble, canBeInteger, canBeNumber, isArray, isBlank, isFalsy, isInteger, isMap, isNumber, isString, isTemporal, isTruthy, mapAsArray, temporalAsArray
-
Constructor Details
-
Push
public Push()
-
-
Method Details
-
apply
Description copied from class:FilterApplies the filter on the 'value', with the given 'context'.
-