Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/ruby_smart/namespace/core_ext/ruby/object.rb
Overview
patches the Object class to directly access the namespace
Instance Method Summary collapse
-
#namespace ⇒ ::RubySmart::Namespace::Base
returns a new namespace object which can be used to resolve namespace-related modules.
Instance Method Details
#namespace ⇒ ::RubySmart::Namespace::Base
returns a new namespace object which can be used to resolve namespace-related modules
9 10 11 |
# File 'lib/ruby_smart/namespace/core_ext/ruby/object.rb', line 9 def namespace ::RubySmart::Namespace::Base.new(self) end |