AppDelegate_for_Calc.rb `�� AV ��w AV # # AppDelegate.rb # Calc # # Created by 高尾 宏治 on 12/01/27. # Copyright 2012 TAKAO Kouji. All rights reserved. # class AppDelegate < NSWindowController attr_accessor :window attr_accessor :textField def calc(sender) string = textField.stringValue calc = eval(string) textField.setStringValue(calc.to_s) end def applicationDidFinishLaunching(a_notification) # Ins