Module: OverridesTracker::FileObserver

Defined in:
lib/overrides_tracker/file_observer.rb

Class Method Summary collapse

Class Method Details

.extended(obj) ⇒ Object



2
3
4
5
6
7
8
9
# File 'lib/overrides_tracker/file_observer.rb', line 2

def self.extended(obj)
  TracePoint.trace(:end) do |t|
    if obj == t.self
      obj.overrides_tracker_finished_file
      t.disable
    end
  end
end