Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v4.1.8) is shown here.
childless?(xml = false)
public
Returns non-nil if this tag can contain child nodes.
# File actionview/lib/action_view/vendor/html-scanner/html/node.rb, line 305
def childless?(xml = false)
return false if xml && @closing.nil?
[email protected]? ||
@name =~ /^(img|br|hr|link|meta|area|base|basefont|
col|frame|input|isindex|param)$/x
end