summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-05-18 20:03:01 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-05-18 20:03:01 -0700
commit07667473d0ec204eb2cfa7b8938ae2f5010e3220 (patch)
tree475d3cab0e01901e30d49cd39a00f6e908cede0d /lib
parentf43e454615714166c91b5628d3be644d560d97d1 (diff)
downloadpsych-07667473d0ec204eb2cfa7b8938ae2f5010e3220.zip
adding UTF-16 and UTF-16+BOM support
Diffstat (limited to 'lib')
-rw-r--r--lib/psych/nodes/stream.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/psych/nodes/stream.rb b/lib/psych/nodes/stream.rb
index f4aab5a..7cf5e03 100644
--- a/lib/psych/nodes/stream.rb
+++ b/lib/psych/nodes/stream.rb
@@ -21,7 +21,7 @@ module Psych
UTF16BE = Psych::Parser::UTF16BE
# The encoding used for this stream
- attr_reader :encoding
+ attr_accessor :encoding
###
# Create a new Psych::Nodes::Stream node with an +encoding+ that