Skip to content

Commit

Permalink
Module#remove_class_variable is public in 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Mar 12, 2012
1 parent 182097d commit 3e410ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion kernel/common/module.rb
Expand Up @@ -72,7 +72,6 @@ def remove_class_variable(name)

remove_class_variable verify_class_variable_name(name)
end
private :remove_class_variable

def __class_variables__
Rubinius.primitive :module_class_variables
Expand Down
1 change: 1 addition & 0 deletions kernel/common/module18.rb
@@ -1,6 +1,7 @@
# -*- encoding: us-ascii -*-

class Module
private :remove_class_variable

def const_get(name)
name = Rubinius::Type.coerce_to_constant_name name
Expand Down

0 comments on commit 3e410ed

Please sign in to comment.