mochifmt_records
(mochiweb)Formatter that understands records.
Formatter that understands records.
Usage:
1> M = mochifmt_records:new([{rec, record_info(fields, rec)}]), M:format("{0.bar}", [#rec{bar=foo}]). foo
Formatter that understands records.
Usage:
1> M = mochifmt_records:new([{rec, record_info(fields, rec)}]), M:format("{0.bar}", [#rec{bar=foo}]). foo