Sha256: f5b675781da96fb1828916a6abce2cc7fd50e1e291c63cbee38fbbdc5e4c75b8

Contents?: true

Size: 210 Bytes

Versions: 3

Compression:

Stored size: 210 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
overrides_tracker-0.2.0 lib/overrides_tracker/file_observer.rb
overrides_tracker-0.1.13 lib/overrides_tracker/file_observer.rb
overrides_tracker-0.1.12 lib/overrides_tracker/file_observer.rb