instance method
tag!
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
tag!(sym, *args, &block)
Create a tag named sym. Other than the first argument which is the tag name, the arguments are the same as the tags implemented via method_missing.
Parameters
-
symreq -
argsrest -
blockblock
Source
# File activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlbase.rb, line 30
def tag!(sym, *args, &block)
method_missing(sym.to_sym, *args, &block)
end
Defined in activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlbase.rb line 30
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Builder::XmlBase