what is the require I must put in my enviremnt to use red cloth? -- Posted via http://www.ruby-forum.com/.
AFAIK, you don''t need to. You just need to have the gem installed. Just call RedCloth.new(someRedClothText) and it will work. And append .to_html to output HTML. For more info: http://whytheluckystiff.net/ruby/redcloth/ Best, Ryan On 4/27/06, Mohammad <name.goes.here44@gmail.com> wrote:> > what is the require I must put in my enviremnt to use red cloth? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Ryan Prins rprins@gmail.com http://www.lazyi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060427/6f552f5b/attachment-0001.html
Mohammad, require ''redcloth'' is what you''re looking for. The easiest way to find what you''ll have to require is to take a look at the files frame in the package''s RDoc. For example, if you check http://redcloth.rubyforge.org/rdoc/ you''ll see ''lib/redcloth.rb'' up there in the left corner. Happy hacking, rubinelli --- Mohammad <name.goes.here44@gmail.com> escreveu:> what is the require I must put in my enviremnt to > use red cloth? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________________ Abra sua conta no Yahoo! Mail: 1GB de espa?o, alertas de e-mail no celular e anti-spam realmente eficaz. http://br.info.mail.yahoo.com/