instance method
create_element
Ruby on Rails 8.1.2
Since v6.0.6Signature
create_element(tag_name, attributes = {})
No documentation comment.
Parameters
-
tag_namereq -
attributesopt = {}
Source
# File actiontext/lib/action_text/html_conversion.rb, line 17
def create_element(tag_name, attributes = {})
document.create_element(tag_name, attributes)
end
Defined in actiontext/lib/action_text/html_conversion.rb line 17
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::HtmlConversion