Sha256: c860505357031a70e9852ecc56494cbaff83de412728afa3229fafb1c95fd806
Contents?: true
Size: 606 Bytes
Versions: 2
Compression:
Stored size: 606 Bytes
Contents
# XSD4R - Generating comment definition code # Copyright (C) 2004 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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
ruby_on_ruby-0.0.1 | vendor/javascripts/emscripted-ruby/lib/xsd/codegen/commentdef.rb |
soap4r-1.5.5.20061022 | lib/xsd/codegen/commentdef.rb |