aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rexml/child.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/child.rb')
-rw-r--r--lib/rexml/child.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/child.rb b/lib/rexml/child.rb
index fd59d7283a..de84a312fe 100644
--- a/lib/rexml/child.rb
+++ b/lib/rexml/child.rb
@@ -88,7 +88,7 @@ module REXML
# This doesn't yet handle encodings
def bytes
- encoding = document.encoding
+ document.encoding
to_s
end