summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/encoder.rb
diff options
context:
space:
mode:
authorPat Allan <pat@freelancing-gods.com>2017-06-28 10:36:18 +1000
committerPat Allan <pat@freelancing-gods.com>2017-06-28 10:36:18 +1000
commit761234f380b3e42c283e82d784826bae280f9075 (patch)
tree685fea8bd74cdc7ce86e7dd285fd35ef01bb7d73 /lib/coderay/encoders/encoder.rb
parent368a28e26944edb5e6a59356d50683400695ab65 (diff)
downloadcoderay-761234f380b3e42c283e82d784826bae280f9075.tar.gz
Get tests running with frozen string literals.
Diffstat (limited to 'lib/coderay/encoders/encoder.rb')
-rw-r--r--lib/coderay/encoders/encoder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/encoders/encoder.rb b/lib/coderay/encoders/encoder.rb
index fa5695d..2baeedb 100644
--- a/lib/coderay/encoders/encoder.rb
+++ b/lib/coderay/encoders/encoder.rb
@@ -146,7 +146,7 @@ module CodeRay
end
def get_output options
- options[:out] || ''
+ options[:out] || ''.dup
end
# Append data.to_s to the output. Returns the argument.