module Marten::Template::Tag::CanExtractAssignments


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:


Instance Method Summary

Instance Method Detail

def extract_assignments(source : String) #

Extract assignments from the given source string.

[View source]