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

- old
+ new

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