Skip to content
Browse files

changed each to each_line

  • Loading branch information...
1 parent 267fb24 commit 49013eff491a90be88c15ffc4108a453b396597b Jen committed Mar 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/soap/mimemessage.rb
View
2 lib/soap/mimemessage.rb
@@ -49,7 +49,7 @@ def self.parse(str)
def parse(str)
header_cache = nil
- str.each do |line|
+ str.each_line do |line|
case line
when /^\A[^\: \t]+:\s*.+$/
parse_line(header_cache) if header_cache

0 comments on commit 49013ef

Please sign in to comment.
Something went wrong with that request. Please try again.