class << self
Definitions
def instance
Returns the singleton Registry instance, creating it on first access.
Implementation
def instance
@instance ||= new
end
def reset!
Reset the singleton (useful for testing).
Implementation
def reset!
@instance = nil
end