We could use an inner class to hold the description and examples<br><br>class MyDirective<br>&nbsp; class MetaInfo<br>&nbsp;&nbsp;&nbsp;&nbsp; def description<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>&nbsp;&nbsp;&nbsp;&nbsp; end<br><br>&nbsp;&nbsp;&nbsp;&nbsp; def example<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>&nbsp;&nbsp;&nbsp;&nbsp; end<br><br>&nbsp; end
<br>end<br><br>or even simply a Map to hold the pieces.<br><br>Just other ideas to add to the list. <br>