想象一下我有 @template
这是 ActionTemplate::View
的一个实例.
问题是:如何转换 @template
其@template.source 是<%= "hello from erb" %>
至hello from erb
??谢谢
最佳答案
关于ruby-on-rails - 如何将erb转换为html?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11572396/