Modified: MacRuby/trunk/sample-macruby/HotCocoa/demo/lib/views/buttons.rb (518 => 519)
--- MacRuby/trunk/sample-macruby/HotCocoa/demo/lib/views/buttons.rb 2008-08-29 20:25:11 UTC (rev 518)
+++ MacRuby/trunk/sample-macruby/HotCocoa/demo/lib/views/buttons.rb 2008-08-29 20:25:24 UTC (rev 519)
@@ -6,7 +6,7 @@
def self.create
action = Proc.new {
- alert(:message => "This is an alert!", :info => "This is a little more info!").show
+ alert :message => "This is an alert!", :info => "This is a little more info!"
}
layout_view :frame => [0, 0, 0, 0], :layout => {:expand => [:width, :height]} do |view|