Powered by SmartDoc


Element is a framework which shows Ruby's objects/methods as HTML. To use elements is the core of CGIKit development.

Because component is also one type of elements, components can be nested. As a result of it, the web page is formed by some components and elements. In this case, the top-level component usually determines the layout of the web page, other components and elements gives the top-level component their result of HTML conversion.