-
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This will allow the block form of `whitespace` to work the same way you would work with an element method. Your block can return a string, or any object that can be formatted by `format_object` if it contains no other element methods. ```rb span { "9" } whitespace { "out of" } span { "10" } ```
- Loading branch information
1 parent
3e10cc0
commit 1455b2c
Showing
2 changed files
with
16 additions
and
2 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