Render an ERB template with values from a hash
问题 I must be overlooking something very simple here but I can't seem to figure out how to render a simple ERB template with values from a hash-map. I am relatively new to ruby, coming from python. I have an ERB template (not HTML), which I need rendered with context that's to be taken from a hash-map, which I receive from an external source. However, the documentation of ERB, states that the ERB.result method takes a binding . I learnt that they are something that hold the variable contexts in