lib/ruby_warnings.rb in sym-3.0.1 vs lib/ruby_warnings.rb in sym-3.0.2

- old
+ new

@@ -1,5 +1,5 @@ -ruby_version = RbConfig::CONFIG['MAJOR'].to_i * 10 + RbConfig::CONFIG['MINOR'].to_i +ruby_version = (RbConfig::CONFIG['MAJOR'].to_i * 10) + RbConfig::CONFIG['MINOR'].to_i if ruby_version >= 27 Warning[:deprecated] = false ENV['RUBYOPT'] = '-W:no-deprecated' else ENV['RUBYOPT']="-W0"