Module: Me::ThreadScope
Constant Summary collapse
- NAMESPACE =
:__me
Instance Method Summary collapse
Instance Method Details
#[](name) ⇒ Object
7 8 9 |
# File 'lib/me/thread_scope.rb', line 7 def [](name) scope[name] end |
#[]=(name, value) ⇒ Object
11 12 13 |
# File 'lib/me/thread_scope.rb', line 11 def []=(name, value) scope[name] = value end |
#_reset ⇒ Object
15 16 17 |
# File 'lib/me/thread_scope.rb', line 15 def _reset current[NAMESPACE] = {} end |