Browse files

added :object_id to methods not to undef in method builder

  • Loading branch information...
1 parent d90b59c commit f5fe64bccdefb76d057cfee70c37721db8da609e @jkutner jkutner committed Jun 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/dsl/ferrari.rb
@@ -301,7 +301,7 @@ class MethodBuilder
public_instance_methods.each do |m|
# maybe we shouldn't be undefing object_id. What are the implications? Can we make object_id a
# pass through to the underlying object's object_id?
- a = [:method_missing, :new, :public_instance_methods, :__send__, :__id__]
+ a = [:method_missing, :new, :public_instance_methods, :__send__, :__id__, :object_id]
undef_method m.to_sym unless a.include? m.to_sym

0 comments on commit f5fe64b

Please sign in to comment.