Permalink
Browse files

defined_method should be private

  • Loading branch information...
kronos committed Feb 11, 2010
1 parent eb47a10 commit 38145d6f399b6e638232a93c191316aff59323fb
Showing with 2 additions and 0 deletions.
  1. +2 −0 kernel/common/module.rb
View
@@ -342,6 +342,8 @@ def define_method(name, meth = nil, &prc)
meth
end
private :define_method
def extend_object(obj)
append_features obj.metaclass
end

0 comments on commit 38145d6

Please sign in to comment.