Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix visibility stubs.
  • Loading branch information
whitequark committed Nov 5, 2011
1 parent bebdb4a commit b39b0d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/05_module.js
Expand Up @@ -92,6 +92,8 @@ var with_each_method = function(what, type, include_super, f) {
var make_reflectors = function(type) {
$.define_method($c.Kernel, type, -1, function(self, args) {
// stub

return Qnil;
});

var visibility = (type == 'public' ? null : type);
Expand Down Expand Up @@ -147,6 +149,7 @@ $.define_method($c.Module, 'module_function', -1, function(self, args) {

$.define_method($c.Module, 'private_class_method', -1, function(self, args) {
// stub

return Qnil;
});

Expand Down

0 comments on commit b39b0d9

Please sign in to comment.