Skip to content

Commit

Permalink
Add Module#private_method_defined? stub method
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Nov 9, 2013
1 parent 0541825 commit 14050e6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion opal/core/module.rb
Expand Up @@ -444,12 +444,17 @@ def private_class_method(name)
alias private public
alias protected public

def private_method_defined?(obj)
false
end

alias protected_method_defined? private_method_defined?

alias public_instance_methods instance_methods

alias public_method_defined? method_defined?

def remove_class_variable(*)

end

def remove_const(name)
Expand Down

0 comments on commit 14050e6

Please sign in to comment.