Method: Ovec::TextNode#initialize
- Defined in:
- lib/ovec/nodes.rb
#initialize(text) ⇒ TextNode
Returns a new instance of TextNode.
89 90 91 |
# File 'lib/ovec/nodes.rb', line 89 def initialize(text) @text = text end |
Returns a new instance of TextNode.
89 90 91 |
# File 'lib/ovec/nodes.rb', line 89 def initialize(text) @text = text end |