instance method
create_element
Ruby on Rails 7.0.10
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 15
def create_element(tag_name, attributes = {})
document.create_element(tag_name, attributes)
end
Defined in actiontext/lib/action_text/html_conversion.rb line 15
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::HtmlConversion