Module: Loofah::HtmlDocumentBehavior
- Included in:
- Loofah::HTML4::Document, Loofah::HTML5::Document
- Defined in:
- lib/loofah/concerns.rb
Overview
:nodoc:
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
159 160 161 |
# File 'lib/loofah/concerns.rb', line 159 def included(base) base.extend(ClassMethods) end |
Instance Method Details
#serialize_root ⇒ Object
164 165 166 |
# File 'lib/loofah/concerns.rb', line 164 def serialize_root at_xpath("/html/body") end |