Profile
Achievement
charlesroper's Recent SnippetsTagged ruby
- All /
« Prev 1 Next »
1. Make sure the following environment variable is set:
WinXP:
HOME=C:\Documents and Settings\*username*
Vista:
HOME=C:\Users\*username*
2. Create an .irbrc file in %HOME%:
$ cd %HOME%
$ touch .irbrc
If you don't have...
1
842
posted 16 years ago by charlesroper
The escape_javascript funtion is taken from Rails (http://rails.rubyonrails.com/classes/ActionView/Helpers/JavaScriptHelper.html#M000633). Most of the work on this was done by pnomolos and n00ge on the E Text Editor forums.
1
854
posted 17 years ago by charlesroper