Revision: 608 http://trac.macosforge.org/projects/ruby/changeset/608 Author: rich@infoether.com Date: 2008-09-19 06:14:55 -0700 (Fri, 19 Sep 2008) Log Message: ----------- fix spelling error Modified Paths: -------------- MacRuby/trunk/lib/hotcocoa/notification_listener.rb Modified: MacRuby/trunk/lib/hotcocoa/notification_listener.rb =================================================================== --- MacRuby/trunk/lib/hotcocoa/notification_listener.rb 2008-09-19 13:04:38 UTC (rev 607) +++ MacRuby/trunk/lib/hotcocoa/notification_listener.rb 2008-09-19 13:14:55 UTC (rev 608) @@ -3,10 +3,10 @@ class NotificationListener DistributedBehaviors = { - :drop => NSNotificationSuspensionBehaviorDrop, - :coalese => NSNotificationSuspensionBehaviorCoalesce, - :hold => NSNotificationSuspensionBehaviorHold, - :deliver_immediately => NSNotificationSuspensionBehaviorDeliverImmediately + :drop => NSNotificationSuspensionBehaviorDrop, + :coalesce => NSNotificationSuspensionBehaviorCoalesce, + :hold => NSNotificationSuspensionBehaviorHold, + :deliver_immediately => NSNotificationSuspensionBehaviorDeliverImmediately } attr_reader :callback, :name, :sender, :suspension_behavior @@ -14,7 +14,7 @@ def initialize(options={}, &block) @callback = block @distributed = (options[:distributed] == true) - @suspension_behavior = DistributedBehaviors[options[:when_suspended] || :coalese] + @suspension_behavior = DistributedBehaviors[options[:when_suspended] || :coalesce] @name = options[:named] @sender = options[:sent_by] observe