lib/polyfill/internal_utils.rb in polyfill-1.5.0 vs lib/polyfill/internal_utils.rb in polyfill-1.6.0
- old
+ new
@@ -2,10 +2,11 @@
module InternalUtils # rubocop:disable Metrics/ModuleLength
VERSIONS = {
'2.2' => 'V2_2',
'2.3' => 'V2_3',
'2.4' => 'V2_4',
- '2.5' => 'V2_5'
+ '2.5' => 'V2_5',
+ '2.6' => 'V2_6'
}.freeze
private_constant :VERSIONS
def current_ruby_version
@current_ruby_version ||= RUBY_VERSION[/\A(\d+\.\d+)/, 1]