Class: Nokogiri::HTML5::Document
- Inherits:
-
Object
- Object
- Nokogiri::HTML5::Document
- Defined in:
- lib/wasmify/rails/shims/nokogiri.rb
Instance Method Summary collapse
- #create_element(tag_name, attributes = {}) ⇒ Object
- #encoding=(enc) ⇒ Object
- #fragment(html) ⇒ Object
-
#initialize ⇒ Document
constructor
A new instance of Document.
Constructor Details
#initialize ⇒ Document
Returns a new instance of Document.
16 17 18 |
# File 'lib/wasmify/rails/shims/nokogiri.rb', line 16 def initialize # TODO end |
Instance Method Details
#create_element(tag_name, attributes = {}) ⇒ Object
27 28 29 |
# File 'lib/wasmify/rails/shims/nokogiri.rb', line 27 def create_element(tag_name, attributes = {}) # Create an element with given tag name and attributes end |
#encoding=(enc) ⇒ Object
20 21 |
# File 'lib/wasmify/rails/shims/nokogiri.rb', line 20 def encoding=(enc) end |
#fragment(html) ⇒ Object
23 24 25 |
# File 'lib/wasmify/rails/shims/nokogiri.rb', line 23 def fragment(html) DocumentFragment.new(html) end |