summaryrefslogtreecommitdiff
path: root/lib/psych.rb
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2016-11-18 17:33:29 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2016-11-18 17:33:29 +0900
commitd65f69baf448c3639ad6aab88872da0882066535 (patch)
treec2cabd9b8a06bc5722aedc94228df37f7d11683f /lib/psych.rb
parentbb1ee3edb7b28a31c60c2670c2fd41b3c74273b0 (diff)
downloadpsych-d65f69baf448c3639ad6aab88872da0882066535.zip
Unify Psych version constants to psych/versions.rb.
Diffstat (limited to 'lib/psych.rb')
-rw-r--r--lib/psych.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/psych.rb b/lib/psych.rb
index 7e5b0ed..b117b25 100644
--- a/lib/psych.rb
+++ b/lib/psych.rb
@@ -1,4 +1,5 @@
# frozen_string_literal: false
+require 'psych/versions'
case RUBY_ENGINE
when 'jruby'
require 'psych_jars'
@@ -223,9 +224,6 @@ require 'psych/class_loader'
# # => "a"
module Psych
- # The version is Psych you're using
- VERSION = '2.2.1'
-
# The version of libyaml Psych is using
LIBYAML_VERSION = Psych.libyaml_version.join '.'