Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- Fixed class_eval method redefinition warning in jruby
  • Loading branch information
Brian Takita committed Mar 23, 2010
1 parent ff584dc commit b534b65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES
@@ -1,3 +1,6 @@
- Added RR.blank_slate_whitelist
- Fixed class_eval method redefinition warning in jruby

0.10.10
- Suite passes for Ruby 1.9.1

Expand Down
4 changes: 3 additions & 1 deletion lib/rr/space.rb
Expand Up @@ -80,7 +80,9 @@ def record_call(subject, method_name, arguments, block)
end

def blank_slate_whitelist
@blank_slate_whitelist ||= ["object_id", "respond_to?", "method_missing", "instance_eval", "instance_exec"]
@blank_slate_whitelist ||= [
"object_id", "respond_to?", "method_missing", "instance_eval", "instance_exec", "class_eval"
]
end

protected
Expand Down

0 comments on commit b534b65

Please sign in to comment.