class Subconv::ContainerNode
Node that contains other nodes
Attributes
children[R]
Public Class Methods
new(children = [])
click to toggle source
# File lib/subconv/caption.rb, line 53 def initialize(children = []) self.children = children end
Public Instance Methods
==(other)
click to toggle source
# File lib/subconv/caption.rb, line 57 def ==(other) self.class == other.class && @children == other.children end
children=(children)
click to toggle source
# File lib/subconv/caption.rb, line 63 def children=(children) fail 'Children must be an array' unless children.class == Array @children = children end