Skip to content

Commit

Permalink
Remove more 1.x checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
crondaemon committed Jul 25, 2018
1 parent 319a287 commit 2288c9f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/pcaprub/ext.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
begin
if RUBY_VERSION =~ /1.8/
require '1.8/pcaprub_c'
elsif RUBY_VERSION =~ /1.9/
require '1.9/pcaprub_c'
elsif RUBY_VERSION =~ /2.0/
if RUBY_VERSION =~ /2.0/
require '2.0/pcaprub_c'
elsif RUBY_VERSION =~ /2.1/
require '2.1/pcaprub_c'
Expand Down

0 comments on commit 2288c9f

Please sign in to comment.