Skip to content

Commit

Permalink
fix for issue savonrb#33 (undefined method 'start_with?')
Browse files Browse the repository at this point in the history
  • Loading branch information
rubiii committed Feb 2, 2010
1 parent b2078c9 commit 1439298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/savon/wsdl_stream.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def depth
# Reads namespace definitions from a given +attrs+ Hash.
def read_namespaces(attrs)
attrs.each do |key, value|
@namespaces[key.split(":").last] = value if key.start_with? "xmlns:"
@namespaces[key.split(":").last] = value if key =~ /^xmlns:/
end
end

Expand Down

0 comments on commit 1439298

Please sign in to comment.