-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fall back to element name with no selector
In cases where a page is utilizing semantic elements, it is convenient to be able to omit the selector and use the semantic element name as the selector. ```ruby class PageWithSidebar < PageEz::Page has_one :sidebar, "aside" has_one :main do has_one :header do has_one :heading, "h1" end has_one :content, "section" end end ```
- Loading branch information
1 parent
6810607
commit 7b9569a
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters