On Tue, Jun 15, 2010 at 7:19 AM, Jennifer Lee <jmasonlee / gmail.com> wrote:
> I have code:
>
> <% @terms.each do |term| %>>
>
> %regex = Regexp.new(/#{term}/)%>
> %matchdata = regex.match(@def_str)%>
> %if matchdata%>
>
> %  
> %  楾
>
> %end%>
> <%end%>

Hi,

> %  楾
This line is run only and doesn't output value.

So change this line to: <%= @def.shift %>
to solve this problem.

Thanks.

-- 
Sora Harakami - @sora_h
Blog: http://codnote.net/
Detail: http://sorah.cosmio.net/