What is system_control?

This is library of System Control for MacRuby.

Features

Requirements

Installing

$ sudo macgem install system_control

Using

require 'rubygems'
require 'system_control'

System::Power.sleep

# Growl Notification
g "Growl notification test"

See here more examples.