class method
self.html_document_class
Ruby on Rails 7.2.3
Since v7.1.6Signature
self.html_document_class()
No documentation comment.
Source
# File actiontext/lib/action_text.rb, line 47
def html_document_class
return @html_document_class if defined?(@html_document_class)
@html_document_class =
defined?(Nokogiri::HTML5) ? Nokogiri::HTML5::Document : Nokogiri::HTML4::Document
end
Defined in actiontext/lib/action_text.rb line 47
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText