element.rb

Path: lib/html/element.rb
Last Update: Tue Feb 01 05:41:40 +0000 2011

This module is a mix-in that provides parent/child behavior to real Element classes. Because it defines each() and includes Enumerable, you can iterate through a tree using the usual Enumerable methods.

Copyright:Copyright (C) 2003, Johannes Brodwall <johannes@brodwall.com>, Copyright (C) 2002, Ned Konz <ned@bike-nomad.com>
License:Same as Ruby‘s

CVS ID: $Id: element.rb,v 1.4 2004/09/24 23:28:55 jhannes Exp $

Required files

html/tags  

[Validate]