diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-18 14:01:43 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-18 14:01:43 +0000 |
commit | e86a90420d06f613cf597f266abb5429aa2d6b43 (patch) | |
tree | ee9fe6802d760ec299092880dface1354d69b0a4 /lib | |
parent | e457f6312f2ff05ab5ac52f17ab654f09282cd8d (diff) | |
download | ruby-e86a90420d06f613cf597f266abb5429aa2d6b43.tar.gz |
* lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenated
string.
Patch by Ryan Brunner. [ruby-core:58220] [Bug #9093]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/resolv.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/resolv.rb b/lib/resolv.rb index 0c2b68ec27..3194d76aa1 100644 --- a/lib/resolv.rb +++ b/lib/resolv.rb @@ -1963,10 +1963,10 @@ class Resolv attr_reader :strings ## - # Returns the first string from +strings+. + # Returns the concatenated string from +strings+. def data - @strings[0] + @strings.join("") end def encode_rdata(msg) # :nodoc: |