Whilst playing around with the very exciting macruby last weekend, I thought I’d try building a web page screenshot grabber, based on Ben Curtis’ code. The code was very easy to change translate from rubycocoa, looks cleaner and seems to work really well: framework 'Cocoa' framework 'WebKit' class Snapper attr_accessor :options, :view, :window def initialize(options = {}) @options = options initia