On 3/1/07, [email protected] [email protected] wrote:
Q. What is THE Ruby book for Rails developers?
A. RUBY FOR RAILS by David A. Black (http://www.manning.com/black)
(See what readers are saying! http://www.rubypal.com/r4rrevs.pdf)
Q. Where can I get Ruby/Rails on-site training, consulting, coaching?
A. Ruby Power and Light, LLC (http://www.rubypal.com)
Why do things need to be so simple?
–
Samantha
http://www.babygeek.org/
“Beware when the great God lets loose a thinker on this planet. Then all
things are at risk.”
–Ralph Waldo Emerson
On 3/1/07, Louis J Scoras [email protected] wrote:
such a rude program for deployment into the world.)
Samantha;
Cool script. I like the prompts
I didn’t write the prompt formula on my own, but I did write the
sarcasm.
One cool thing about ruby is that if you put key/value pairs at the
exit 1
Or even get rid of the “correct” variable:
verify_info boolean_prompt("Is this correct?"),
:next => "Great, let's move onto your experience.",
:fail => "Please come back when you know what you can do with
yourself. :)"
In this case it doesn’t afford you too much, but it does get rid of
the repeated pattern. Say you wanted to change the exit code. Now
you’d only need to edit it in one place.
–
Lou.
So, what you’re doing here is basically iterating through the hash and
if
it gets an ok, it goes to the next value to confirm, and otherwise, it
fails?
–
Samantha
http://www.babygeek.org/
“Beware when the great God lets loose a thinker on this planet. Then all
things are at risk.”
–Ralph Waldo Emerson
On 3/1/07, James Edward G. II [email protected] wrote:
Wow, thanks. There’s so much out there - it’s a bit overwhelming. I
feel
like a baby goldfish in a non-chlorinated swimming pool filled with
rafts
and other assorted swimming paraphernalia trying not to get lost.
–
Samantha
http://www.babygeek.org/
“Beware when the great God lets loose a thinker on this planet. Then all
things are at risk.”
–Ralph Waldo Emerson