you can test this example! just create an example App delegate, you’ll not
be able to connect the accessors nor actions!
class AppDelegate
attr_accessor :window, :more
def applicationDidFinishLaunching(a_notification)
# because of this, rb_nibtool will not work
notif = -> name do
puts name
end
## replacement: this should work
# notif = -> name {
# puts name
# }
end
def tell_some_thing(sender)
puts "something"
end
end
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel