View Source Kalevala.Character.View (kalevala v0.1.0)

Render output from the game

Link to this section Summary

Functions

"Join" an IO data list with a separator string

Trim empty lines from io data

Link to this section Functions

"Join" an IO data list with a separator string

Similar to Enum.join, but leaves as an IO data list

Trim empty lines from io data

Detects empty lines in io data (for example when rendered via EEx templating), and removes them. This way the template string works as expected, returning an empty string from a sub-render will strip the line.