Method: HTML::Text#initialize
- Defined in:
- lib/action_controller/vendor/html-scanner/html/node.rb
#initialize(parent, line, pos, content) ⇒ Text
Creates a new text node as a child of the given parent, with the given content.
214 215 216 217 |
# File 'lib/action_controller/vendor/html-scanner/html/node.rb', line 214 def initialize(parent, line, pos, content) super(parent, line, pos) @content = content end |