summaryrefslogtreecommitdiff
path: root/lib/psych.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/psych.rb')
-rw-r--r--lib/psych.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/psych.rb b/lib/psych.rb
index c3292d9..347160e 100644
--- a/lib/psych.rb
+++ b/lib/psych.rb
@@ -233,9 +233,9 @@ require 'psych/class_loader'
module Psych
# The version of libyaml Psych is using
- LIBYAML_VERSION = Psych.libyaml_version.join '.'
+ LIBYAML_VERSION = Psych.libyaml_version.join('.').freeze
# Deprecation guard
- NOT_GIVEN = Object.new
+ NOT_GIVEN = Object.new.freeze
private_constant :NOT_GIVEN
###