Forum: Ruby on Rails Red cloth

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0a36dd2d45a8cead5dcfd27a9346f620?d=identicon&s=25 Mohammad (Guest)
on 2006-04-27 23:07
what is the require I must put in my enviremnt to use red cloth?
Eed3ca2591560a2dd91222d9b62f882d?d=identicon&s=25 Ryan Prins (Guest)
on 2006-04-27 23:32
(Received via mailing list)
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
147b6909e9cbe0425b7d0333a4031a87?d=identicon&s=25 Marcos Rubinelli (Guest)
on 2006-04-28 14:54
(Received via mailing list)
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/
This topic is locked and can not be replied to.