Oops .. I forgot the ML :(

[EMAIL PROTECTED] wrote :
| I think the real problem he's trying to solve is how to have
| @quote_note initially parsed as RedCloth rather than a String, as
| is already done for e.g. @content.
| 
| (to which I don't know the answer offhand; I've not gotten that into
| custom entry classes -- yet)

In my case I had the same thing with the title field.
So I declared something like:

def title
  title_str = guess_language( @title )
  RedCloth.new title_str
end

-- 
Frederick Ros aka Sleeper -- [EMAIL PROTECTED]

Use data arrays to avoid repetitive control sequences.
            - The Elements of Programming Style (Kernighan & Plaugher)



----- End forwarded message -----

-- 
Frederick Ros aka Sleeper -- [EMAIL PROTECTED]

I did this 'cause Linux gives me a woody.  It doesn't generate revenue.
(Dave '-ddt->` Taylor, announcing DOOM for Linux)

Attachment: pgp8lh5NFPj9y.pgp
Description: PGP signature

_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way

Reply via email to