Permalink
Browse files

added comments

  • Loading branch information...
1 parent 88d1291 commit e324abfb01e79bf020be36878bf532a0e7504866 @jkutner jkutner committed Oct 11, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/dsl/ferrari.rb
View
@@ -293,6 +293,8 @@ def build_rule
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__]
undef_method m.to_sym unless a.include? m.to_sym
end

0 comments on commit e324abf

Please sign in to comment.