class Mnemosyne::Registry::Monitor
Public Class Methods
new()
click to toggle source
# File lib/mnemosyne/registry.rb, line 71 def initialize @requirements = Hash.new {|h, k| h[k] = Set.new } end
Public Instance Methods
<<(registration)
click to toggle source
# File lib/mnemosyne/registry.rb, line 79 def <<(registration) registration.require_paths.each do |path| @requirements[path] << registration end end
delete(path)
click to toggle source
# File lib/mnemosyne/registry.rb, line 75 def delete(path) @requirements.delete(path) end