module CodeRay::PluginHost

def map hash

end
:luna => :moon
:maroon => :brown,
map :navy => :dark_blue,
class MyColorHost < PluginHost

Usage: Put this in a file plugin_path/_map.rb.

Map a plugin_id to another.
def map hash
  for from, to in hash
    from = validate_id from
    to = validate_id to
    plugin_hash[from] = to unless plugin_hash.has_key? from
  end
end