Re: [Wtr-general] AWESOME Ruby Hacks

2006-08-04 Thread Bret Pettichord

> is it possible to syntax highlight in the IRB cmd
> shell through IRBC?. Can't see anything in pickaxe.
>
> Aidy
>   
Not to my knowledge. I suspect that we'll see this first in one of the 
Ruby IDE's like Arachno or, probably TextMate (which only works on a Mac).

Bret
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] AWESOME Ruby Hacks

2006-08-03 Thread Adrian Lewis
Hi,

Thanks for the links, but is it possible to syntax highlight in the IRB cmd
shell through IRBC?. Can't see anything in pickaxe.

Aidy



---
This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. 
If you are not the intended recipient, please telephone or email the sender and 
delete this message and any attachment from your system.  
If you are not the intended recipient you must not copy this message or 
attachment or disclose the contents to any other person.
---
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] AWESOME Ruby Hacks

2006-08-02 Thread Chris McMahon
> http://blog.nicksieger.com/articles/2006/04/23/tweaking-irb
> > > This outlines some wonderful things about how to hack your IRB
> configuration
> > > file to do some totally awesome things, including

And for those who didn't read Nick's blog closely, here are some more:
 http://wiki.rubygarden.org/Ruby/page/show/Irb/TipsAndTricks
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] AWESOME Ruby Hacks

2006-07-26 Thread Rand Thacker
Hey, and as an aside, XP pro systems have ENV['HOMEPATH'], so you'd changeLOG = "#{ENV['HOME']}/.irb-history"toLOG = "#{ENV['HOMEPATH']}\\.irb-history"
Worked like a charm for me.And, thanks to all for these great pointers.  Very helpful.On 7/26/06, Nick Sieger <
[EMAIL PROTECTED]> wrote:On 7/26/06, 
Jesper Rønn-Jensen <[EMAIL PROTECTED]> wrote:

On 7/26/06, Michael Bolton <

[EMAIL PROTECTED]> wrote:

http://blog.nicksieger.com/articles/2006/04/23/tweaking-irb
This outlines some wonderful things about how to hack your IRB configurationfile to do some totally awesome things, including
What a great trick. Thanks a lot for sharing.Glad that you guys are finding it useful! 

Unfortunately, Nicks blog post was not open for comments (or something else went wrong so I couldn't comment).Sorry about that, I had comments closing after 10 days -- see no real reason to do that.  Would you mind trying again?
Cheers,/Nick

___Wtr-general mailing listWtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
-- "I am the most humble person in the world!"
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] AWESOME Ruby Hacks

2006-07-26 Thread Nick Sieger
On 7/26/06, Jesper Rønn-Jensen <[EMAIL PROTECTED]> wrote:
On 7/26/06, Michael Bolton <
[EMAIL PROTECTED]> wrote:
http://blog.nicksieger.com/articles/2006/04/23/tweaking-irb
This outlines some wonderful things about how to hack your IRB configurationfile to do some totally awesome things, including
What a great trick. Thanks a lot for sharing.Glad that you guys are finding it useful! 
Unfortunately, Nicks blog post was not open for comments (or something else went wrong so I couldn't comment).Sorry about that, I had comments closing after 10 days -- see no real reason to do that.  Would you mind trying again?
Cheers,/Nick
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] AWESOME Ruby Hacks

2006-07-26 Thread Jesper Rønn-Jensen
On 7/26/06, Michael Bolton <[EMAIL PROTECTED]> wrote:
http://blog.nicksieger.com/articles/2006/04/23/tweaking-irbThis outlines some wonderful things about how to hack your IRB configurationfile to do some totally awesome things, including
What a great trick. Thanks a lot for sharing.I had to make a small adjustment though. On my system (win xp), I had to set a system variable "HOME" and point it to a dir where I put the .irbrc file.
Read  more about that here: "http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/77139">irb completion under windows" (ruby-talk)
Unfortunately, Nicks blog post was not open for comments (or something else went wrong so I couldn't comment).

/Jesper-- -- Jesper Rønn-JensenLinkedIn: http://linkedin.com/in/jesperhttp://justaddwater.dk/ (weblog)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] AWESOME Ruby Hacks

2006-07-26 Thread Michael Bolton
Hi, folks...

In Chris McMahon's presentation at Agile 2006 today, we found this site:

http://blog.nicksieger.com/articles/2006/04/23/tweaking-irb

This outlines some wonderful things about how to hack your IRB configuration
file to do some totally awesome things, including 

- IRB command-line completion
- IRB command-line recall
- logging the commands that you've issued in an IRB session
- recalling (via up-arrow) the commands that you've issued in previous IRB
sessions (what was I doing yesterday?  {up}{up}{up}{up}{up} -- oh, right
that was it.)

Hope this helps.  Ruby rules!

---Michael B.

DevelopSense:  Software Testing in Plain English
Web Site:  http://www.developsense.com  
Newsletter: [EMAIL PROTECTED]  
Blog: http://www.developsense.com/blog.html
 
 

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general