diff options
Diffstat (limited to 'lib/xsd/codegen/methoddef.rb')
-rw-r--r-- | lib/xsd/codegen/methoddef.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xsd/codegen/methoddef.rb b/lib/xsd/codegen/methoddef.rb index 24a9168d58..15892fc5bf 100644 --- a/lib/xsd/codegen/methoddef.rb +++ b/lib/xsd/codegen/methoddef.rb @@ -34,7 +34,7 @@ class MethodDef buf = "" buf << dump_comment if @comment buf << dump_method_def - buf << dump_definition if @definition + buf << dump_definition if @definition and !@definition.empty? buf << dump_method_def_end buf end |