« links for 2009-08-25 |
Main
| links for 2009-08-28 »
-
To get rid of the "cygwin warning: MS-DOS style path detected" message in newer versions of Cygwin, simply create a system environment variable called CYGWIN and give it a value of nodosfilewarning
-
-
While object.inspect is ok and puts object.to_yaml is better, the best way to dump a data structure (or object) in Ruby has to be "y object" Also: "The console provides a magic variable ( _ ) for your use, which will automatically give you the last return value the console saw"
-
-
-
Console2, see Burnstreet's answer. One great feature of Console2 is the ability to run the IRB in its own tab: Edit > Settings > Tabs > and set the shell to `ruby c:/cygwin/bin/irb`