module CodeRay::PluginHost

def [] id, *args, &blk

yaml_plugin = MyPluginHost[:yaml]
Example:

Returns the Plugin for +id+.
def [] id, *args, &blk
  plugin = validate_id(id)
  begin
    plugin = plugin_hash.[] plugin, *args, &blk
  end while plugin.is_a? Symbol
  plugin
end