mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Make it clear that attribute methods must precede literal attributes.
This commit is contained in:
parent
34500a1074
commit
b8091363eb
1 changed files with 3 additions and 0 deletions
|
@ -184,6 +184,9 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
|
|||
#
|
||||
# <sandwich bread='whole wheat' delicious='true' filling='peanut butter and jelly' />
|
||||
#
|
||||
# Note that the Haml attributes list has the same syntax as a Ruby method call.
|
||||
# This means that any attribute methods must come before the hash literal.
|
||||
#
|
||||
# ===== Boolean Attributes
|
||||
#
|
||||
# Some attributes, such as "checked" for <tt>input</tt> tags or "selected" for <tt>option</tt> tags,
|
||||
|
|
Loading…
Add table
Reference in a new issue