-
-
Save paulcsmith/ef45dc689f44881ca0b7eeeb555edef4 to your computer and use it in GitHub Desktop.
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
# in spec/lucky_web/html_view_spec.cr:17: no argument named 'class' | |
# Matches are: | |
# - LuckyWeb::HTMLView#h6(content, options) | |
# - LuckyWeb::HTMLView#h6(content : String) | |
# - LuckyWeb::HTMLView#h6(content, **options) | |
# - LuckyWeb::HTMLView#h6(options, &block) | |
# - LuckyWeb::HTMLView#h6(&block) (trying this one) # Why would it try this one if it has two arguments? | |
# This doesn't work | |
h6(class: "h6") do | |
# ...removed | |
end | |
# All the following styles work with the overload above | |
h6 "h6" | |
h6 "h6", class: "class" | |
h6({class: "h6!!!!"}) do | |
# removed | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment