abstract class Marten::Template::Filter::Base

Overview

The template filter base class.

A template filter allows to apply transformations to variables. Filters can be chained and can take an optional argument.

Direct Known Subclasses

Defined in:

marten/template/filter/base.cr

Instance Method Summary

Instance Method Detail

abstract def apply(value : Value, arg : Value | Nil = nil) : Value #

[View source]