Skip to content

Commit

Permalink
Replace Haml::AttributeBuilder::BOOLEAN_ATTRIBUTES in REFERENCE.md
Browse files Browse the repository at this point in the history
The `Haml::AttributeBuilder::BOOLEAN_ATTRIBUTES` was replaced with
`Haml::BOOLEAN_ATTRIBUTES` in cb9cc05.

This commit fixes REFERENCE.md to keep the documentation up-to-date.
  • Loading branch information
tatsuyafw authored and amatsuda committed Dec 22, 2023
1 parent 7e24ee4 commit 1ffe88c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ or using `true` and `false`:
%input(selected=true)

This feature works only for attributes that are included in
[`Haml::AttributeBuilder::BOOLEAN_ATTRIBUTES`](https://github.com/haml/haml/blob/main/lib/haml/attribute_builder.rb#L5),
[`Haml::BOOLEAN_ATTRIBUTES`](https://github.com/haml/haml/blob/main/lib/haml/attribute_compiler.rb#L8),
as well as `data-` and `aria-` attributes.

%input{'data-hidden' => false}
Expand Down

0 comments on commit 1ffe88c

Please sign in to comment.