Rdoc Widget
August 14, 2006
Stumbled across this wonderful RDoc Dashboard widget today.
With this widget all of the Rails and Ruby APIs is just a tap on F8 away. Incredibly nice for an API addict as me!
The widget really suffers from the lack of one feature, though: You cannot copy and paste anything from the RDoc documents.
I fiddled a bit with the source and figured out how to fix that. Here is the recipe:
Browse to the widget in the ~/Library/Widgets folder and select ‘Show Package Contents’ from the context menu.
Open the file RDoc.css in your favorite text-editor.
Under #docoDiv uncomment the line:
- -apple-dashboard-region: dashboard-region(control rectangle);
Add the line:
@css
-khtml-user-select:text;
Save the file, and enjoy copying and pasting from the APIs!
Posted by Mathias Biilmann. Category: Ruby. Tags: ruby, os x.
Similar Posts
- A DRY and RESTful Blog
- Ruby on Rails and the X in front of HTML
- Why Ruby is more than fast enough
- Sudoku on Rails
- Ruby, Haskell and Euler
- Markdown Preview in Vim
- Brand New Biilmann Blog
Comment Preview