class Nokogiri::EncodingHandler
def [](name)
def [](name) storage.key?(name) ? new(storage[name]) : nil end
def alias(name, alias_name)
def alias(name, alias_name) storage[alias_name] = name end
def clear_aliases!
def clear_aliases! storage.clear end
def delete(name)
def delete(name) storage.delete(name) end
def initialize(name)
def initialize(name) @name = name end
def install_default_aliases
def install_default_aliases USEFUL_ALIASES.each do |alias_name, name| EncodingHandler.alias(name, alias_name) if EncodingHandler[alias_name].nil? end end
def storage
def storage @storage ||= {} end