Skip to content
Browse files

Keep a (temporary) StaticScope alias for backwards compatibility.

  • Loading branch information...
1 parent a7b957a commit 2c4e22da84c5c549faa28534b44cc6b31dcb8df3 @txus committed with dbussink May 31, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 kernel/bootstrap/constant_scope.rb
View
4 kernel/bootstrap/constant_scope.rb
@@ -31,4 +31,8 @@ def class_variable_get_or_set(sym, val)
raise NameError, "Invalid class variable name '#{sym}'"
end
end
+
+ # NOTE: Temporary alias for backwards compatibility. StaticScope will
+ # eventually be deprecated in favor of ConstantScope.
+ StaticScope = ConstantScope
end

0 comments on commit 2c4e22d

Please sign in to comment.
Something went wrong with that request. Please try again.