I am building a very small gem and need to include some ERB in the
README.rdoc for this gem.
example:
Here is a couple of instructions, blah, blah...
<div class="field">
<%= f.label :author %><br />
<%= f.text_field :author %>
</div>
<div class="field">
<%= f.label :title %><br />
<%= f.text_field :title %>
</div>
rdoc will not generate anything unless I remove the ERB or bastardize
it like removing a percent sign or something. I've seen ERB in
several open source project README files, so, I don't get it.
Anyone else run into this problem. Do I need to do something special
to add ERB into a non-source code file?
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.