Displaying 1 result from an estimated 1 matches for "thatscopeand".
2012 Sep 21
2
in Rails, what is the main (global) scope called?
For example, you see files called
rails/actionpack/lib/action_controller/base.rb
which adds methods and such to the open module ActionController. What
scope is ActionController in? Is it just called the global scope?
Obviously, there is namespace resolution lookup. And a good example of
this is in the Base class of the same file. It references one module
like this: AbstractController::Layouts