method
dump_comment
v1_8_7_330 -
Show latest stable
- Class:
XSD::CodeGen::CommentDef
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