Class: Robe::Sash::IncludesTracker
- Inherits:
-
Object
- Object
- Robe::Sash::IncludesTracker
- Defined in:
- lib/robe/sash/includes_tracker.rb
Defined Under Namespace
Modules: Invalidator
Class Method Summary collapse
Class Method Details
.method_owner_and_inst(owner, name_cache) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/robe/sash/includes_tracker.rb', line 6 def self.method_owner_and_inst(owner, name_cache) includers = maybe_scan mod, inst = includers[owner].first if mod [name_cache[mod], inst] else [nil, true] end end |
.reset! ⇒ Object
18 19 20 |
# File 'lib/robe/sash/includes_tracker.rb', line 18 def self.reset! @@hosts = nil end |