Module: Arachni::Parser::WithChildren
Defined Under Namespace
Modules: Search
Instance Method Summary
collapse
Methods included from Search
#descendants, #nodes_by_attribute_name, #nodes_by_attribute_name_and_value, #nodes_by_class, #nodes_by_name, #nodes_by_names, #traverse
Instance Method Details
[View source] [
View on GitHub]
28
29
30
31
|
# File 'lib/arachni/parser/with_children.rb', line 28
def <<( child )
child.parent = self
children << child
end
|
[View source] [
View on GitHub]
17
18
19
|
# File 'lib/arachni/parser/with_children.rb', line 17
def children
@children ||= []
end
|