I’m interested in using the prettyprint module available from RAA.
But, as a relatively new Rubyist, I can’t seem to make sense of the included RDOCS.
Has anyone got some simple examples they could share?
I’m interested in using the prettyprint module available from RAA.
But, as a relatively new Rubyist, I can’t seem to make sense of the included RDOCS.
Has anyone got some simple examples they could share?
I have a brief explanation on WS&NiR (towards the bottom of the page):
http://whytheluckystiff.net/articles/2003/08/04/rubyOneEightOh
Anything in particular you want to know?
_why
On Thursday 04 September 2003 05:25 am, Ed Baker wrote:
I’m interested in using the prettyprint module available from RAA.
But, as a relatively new Rubyist, I can’t seem to make sense of the
included RDOCS.Has anyone got some simple examples they could share?
Without sounding incredibly stupid, I want to know how to feed it ruby code and
get back formatted output.
I sort of expected a unix like sytax. i.e. a command line like:
ruby pp.rb myfile.rb > mynewfile.rb
why the lucky stiff ruby-talk@whytheluckystiff.net wrote in message news:200309041108.51867.ruby-talk@whytheluckystiff.net…
I have a brief explanation on WS&NiR (towards the bottom of the page):
http://whytheluckystiff.net/articles/2003/08/04/rubyOneEightOh
Anything in particular you want to know?
_why
On Thursday 04 September 2003 05:25 am, Ed Baker wrote:
I’m interested in using the prettyprint module available from RAA.
But, as a relatively new Rubyist, I can’t seem to make sense of the
included RDOCS.Has anyone got some simple examples they could share?
Also, did I make a mistake in downloading the pp application from RAA?
Since it’s supposed to be a builtin to v1.8. Should I have left well enough
alone?
It’s like what carburetor means in French: “If it works, don’t touch it”
why the lucky stiff ruby-talk@whytheluckystiff.net wrote in message news:200309041108.51867.ruby-talk@whytheluckystiff.net…
I have a brief explanation on WS&NiR (towards the bottom of the page):
http://whytheluckystiff.net/articles/2003/08/04/rubyOneEightOh
Anything in particular you want to know?
_why
On Thursday 04 September 2003 05:25 am, Ed Baker wrote:
I’m interested in using the prettyprint module available from RAA.
But, as a relatively new Rubyist, I can’t seem to make sense of the
included RDOCS.Has anyone got some simple examples they could share?
If you run pp.rb from the commandline, the library will perform some
basic tests to ensure it is working. Oh, wait a sec. I see what you’re
thinking. You’re looking for something like lint, for beautifying Ruby
code.
PP is for displaying data structures in Ruby, so it won’t do the trick.
Not sure what will.
_why
Ed Baker (ejb@theworld.com) wrote:
I sort of expected a unix like sytax. i.e. a command line like:
ruby pp.rb myfile.rb > mynewfile.rb