Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added comments

  • Loading branch information...
commit e324abfb01e79bf020be36878bf532a0e7504866 1 parent 88d1291
@jkutner jkutner authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/dsl/ferrari.rb
View
2  lib/dsl/ferrari.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.