lib/lolsoap/builder.rb in lolsoap-0.5.1 vs lib/lolsoap/builder.rb in lolsoap-0.6.0
- old
+ new
@@ -44,10 +44,10 @@
end
end
def initialize(node, type = WSDL::NullType.new)
@node = node
- @type = type
+ @type = type || WSDL::NullType.new
end
# Add a tag manually, rather than through method_missing. This is so you can still
# add tags for the very small number of tags that are also existing methods.
def __tag__(name, *args, &block)