Method: Tag#initialize
- Defined in:
- lib/rdnode.rb
#initialize(depth, tag, text) ⇒ Tag
Returns a new instance of Tag.
67 68 69 70 71 |
# File 'lib/rdnode.rb', line 67 def initialize(depth, tag, text) super(depth) @tag = tag @text = text end |