module Marten::Template::Tag::CanExtractKwargs

Overview

Allows to extract keyword arguments from strings.

This concern module allows to easily extract colon-separated keyword arguments from a given string. Each keyword argument must be of the format my_arg: my_value.

Direct including types

Defined in:

marten/template/tag/concerns/can_extract_kwargs.cr

Instance Method Summary

Instance Method Detail

def extract_kwargs(source : String) #

Extract keyword arguments from the given source string.


[View source]