Skip to content

Commit 14050e6

Browse files
committedNov 9, 2013
Add Module#private_method_defined? stub method
1 parent 0541825 commit 14050e6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎opal/core/module.rb

+6-1
Original file line numberDiff line numberDiff line change
@@ -444,12 +444,17 @@ def private_class_method(name)
444444
alias private public
445445
alias protected public
446446

447+
def private_method_defined?(obj)
448+
false
449+
end
450+
451+
alias protected_method_defined? private_method_defined?
452+
447453
alias public_instance_methods instance_methods
448454

449455
alias public_method_defined? method_defined?
450456

451457
def remove_class_variable(*)
452-
453458
end
454459

455460
def remove_const(name)

0 commit comments

Comments
 (0)
Please sign in to comment.