Package liqp.filters
Class Shift
java.lang.Object
liqp.LValue
liqp.filters.Filter
liqp.filters.Shift
Jekyll-specific filter for array manipulation: Return a new array with the original array's first item
removed. If the original value is not an array, the value is returned as-is.
- 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
-
Shift
public Shift()
-
-
Method Details
-
apply
Description copied from class:FilterApplies the filter on the 'value', with the given 'context'.
-