public Method

XmlBase.tag!(sym, *args, &block)

Create a tag named sym. Other than the first argument which is the tag name, the arguements are the same as the tags implemented via method_missing.

Source Code

# File builder/xmlbase.rb, line 30
def tag!(sym, *args, &block)
  method_missing(sym.to_sym, *args, &block)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.