lib/theatre/callback_definition_loader.rb in adhearsion-0.8.6 vs lib/theatre/callback_definition_loader.rb in adhearsion-1.0.0

- old
+ new

@@ -59,10 +59,10 @@ (class << self; self; end).send(:alias_method, record_method_name, :anonymous_recorder) end class BlankSlateMessageRecorder - (instance_methods - %w[__send__ __id__]).each { |m| undef_method m } + (instance_methods - %w{instance_eval object_id}).each { |method| undef_method method unless method =~ /^__/ } def initialize(&notify_on_completion) @notify_on_completion = notify_on_completion @namespaces = [] end \ No newline at end of file