new( first, second = nil ) public

Constructor. The first argument can be one of three types: @param first If <a href="/ruby/String">String,</a> the contents of this comment are set to the argument. If Comment, the argument is duplicated. If <a href="/ruby/REXML/Source">Source,</a> the argument is scanned for a comment. @param second If the first argument is a Source, this argument should be nil, not supplied, or a Parent to be set as the parent of this object

Show source
Register or log in to add new notes.