method

dump_comment

ruby latest stable - Class: XSD::CodeGen::CommentDef

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

dump_comment()
private

No documentation available.

# File lib/xsd/codegen/commentdef.rb, line 23
  def dump_comment
    if /\A#/ =~ @comment
      format(@comment)
    else
      format(@comment).gsub(/^/, '# ')
    end
  end