private Method

XmlMarkup._start_tag(sym, attrs, end_too=false)

Start an XML tag. If end_too is true, then the start tag is also the end tag (e.g. <br />

Source Code

# File builder/xmlmarkup.rb, line 286
def _start_tag(sym, attrs, end_too=false)
  @target << "<#{sym}"
  _insert_attributes(attrs)
  @target << "/" if end_too
  @target << ">"
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.