module Marten::Template::Tag::CanExtractAssignments

Overview

Allows to extract assignments from strings.

This concern module allows to easily extract comma-separated assignments from a given string. Each assignment must be of the format my_var = my_value.

Direct including types

Defined in:

marten/template/tag/concerns/can_extract_assignments.cr

Instance Method Summary

Instance Method Detail

def extract_assignments(source : String) #

Extract assignments from the given source string.


[View source]