Skip to content

Instantly share code, notes, and snippets.

Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
Metrics/LineLength:
Max: 80
IgnoredPatterns: ['^\s*class\s']
@paulanthonywilson
paulanthonywilson / isight_capture.rb
Created May 14, 2011 11:20 — forked from Watson1978/isight_capture.rb
MacRuby: Captures a photo using iSight.
#!/usr/local/bin/macruby
# -*- coding: utf-8 -*-
# Captures a photo using iSight.
framework "Cocoa"
framework "QTKit"
class AppController
def initialize(filename=nil)
options = {}