Sha256: 973cecae32035473a2e416e63fe00d770aa64fba1512819a8175b23663b873d9
Contents?: true
Size: 634 Bytes
Versions: 38
Compression:
Stored size: 634 Bytes
Contents
# encoding: ASCII-8BIT # XSD4R - Generating comment definition code # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>. # This program is copyrighted free software by NAKAMURA, Hiroshi. You can # redistribute it and/or modify it under the same terms of Ruby's license; # either the dual license version in 2003, or any later version. require 'xsd/codegen/gensupport' module XSD module CodeGen module CommentDef include GenSupport attr_accessor :comment private def dump_comment if /\A#/ =~ @comment format(@comment) else format(@comment).gsub(/^/, '# ') end end end end end
Version data entries
38 entries across 38 versions & 10 rubygems