This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'hotcocoa' | |
include HotCocoa | |
framework 'webkit' | |
ALL_TAGS_REPORT = File.join( | |
NSBundle.mainBundle.resourcePath.fileSystemRepresentation, | |
'resources/all_tags_report.html') | |
application do |app| | |
window(:frame => [100, 100, 500, 300], :title => "Reports") do |win| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Will find the rdoc paths of your local gems and generate a html index frameset which will let you select | |
# the desired gem's rdoc from a dropdown navigation... | |
# | |
# Specify your local gems installation's doc directory and the desired html output path, open the generated index.html | |
# in the output path in your favorite browser and add a boomark. | |
# You might want to add the script into your path for easy access or put it in a cron job. | |
# | |
# Tested on Ubuntu 8.10, but really should work anywhere with proper gem install path set | |
# Working on Mac Os with custom Ruby install in /usr/local |
NewerOlder