class Marten::Template::Filter::Capitalize

Overview

The capitalize filter.

The capitalize filter allows to modify a string so that the first letter is converted to uppercase and all the subsequent letters are converted to lowercase.

Defined in:

marten/template/filter/capitalize.cr

Instance Method Summary

Instance methods inherited from class Marten::Template::Filter::Base

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

Instance Method Detail

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

[View source]