Rails custom tags -- access to content inside custom tag

i’ve yet to find anything in rails where i can create a custom tag
that has access to the html content between the open and end tags.
where should i look for this functionality? peace, mike