KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to do something like this: require 'erb' @var = 'test' template = ERB.new File.new("template.erb").read rendered = template.result(binding()) But how can I use partials in template.erb?
Tags (comma-separated)
Save Edits
Cancel