diff options
Diffstat (limited to 'ruby_1_8_5/lib/xsd/codegen/commentdef.rb')
-rw-r--r-- | ruby_1_8_5/lib/xsd/codegen/commentdef.rb | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/ruby_1_8_5/lib/xsd/codegen/commentdef.rb b/ruby_1_8_5/lib/xsd/codegen/commentdef.rb deleted file mode 100644 index c9493a1363..0000000000 --- a/ruby_1_8_5/lib/xsd/codegen/commentdef.rb +++ /dev/null @@ -1,34 +0,0 @@ -# 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 |