Module XSD::CodeGen::CommentDef
In: lib/xsd/codegen/commentdef.rb

Methods

Included Modules

GenSupport

Attributes

comment  [RW] 

Private Instance methods

[Source]

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

[Validate]