1require 'osx/cocoa'
2
3class WindowBController < OSX::NSObject
4
5  ns_outlets   :window
6
7  def init
8    OSX::NSBundle.loadNibNamed("WindowB", :owner, self)
9    self
10  end
11
12  def showWindow
13    @window.makeKeyAndOrderFront(self)
14  end
15
16end
17