Skip to content

Commit daf8fda

Browse files
authored
Removed a couple old ruby 1.8 hacks (#456)
1 parent 72e63e9 commit daf8fda

3 files changed

Lines changed: 1 addition & 7 deletions

File tree

lib/split/extensions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# frozen_string_literal: true
2-
%w[array string].each do |f|
2+
%w[string].each do |f|
33
require "split/extensions/#{f}"
44
end

lib/split/extensions/array.rb

Lines changed: 0 additions & 5 deletions
This file was deleted.

spec/spec_helper.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
require 'split'
1111
require 'ostruct'
1212
require 'yaml'
13-
require 'complex' if RUBY_VERSION.match(/1\.8/)
1413

1514
Dir['./spec/support/*.rb'].each { |f| require f }
1615

0 commit comments

Comments
 (0)