------=_Part_7951_30900333.1232273019475 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Does anybody use this stuff as an alternative to LaTeX? On Sun, Jan 18, 2009 at 4:28 AM, Gregory Brown <gregory.t.brown / gmail.com>wrote: > On Sat, Jan 17, 2009 at 10:12 PM, Trans <transfire / gmail.com> wrote: > > > module Prawn > > module PDF > > class Document > > > > The extra namespace ensures it can still be used without conflict > > should another lib use the PDF namespace too. And one can do: > > > > include Prawn > > > > to still use just > > > > PDF::Document > > > > A 'shortcut' require can also be provided to automatically do the > > including. > > Nah, it'd be mighty annoying to nest all my classes that way. I'm fine > with claiming the PDF namespace since I'm the current maintainer of > the Ruby PDF project (PDF::Writer), and one of the principle > developers on Prawn maintains PDF::Reader. > > It will be up to other developers to avoid namespace collisions with > us, or alternatively, join forces and become part of the 'pdf' project > for Ruby. > > -greg > > -- > Technical Blaag at: http://blog.majesticseacreature.com > Non-tech stuff at: http://metametta.blogspot.com > "Ruby Best Practices" Book now in O'Reilly Roughcuts: > http://rubybestpractices.com > > -- http://www.home.no/reddvinylene ------=_Part_7951_30900333.1232273019475--