summaryrefslogtreecommitdiff
path: root/lib/optparse/date.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-01-04 08:32:45 +0100
committergit <svn-admin@ruby-lang.org>2022-01-04 16:38:17 +0900
commitf0669fb6cbdbad499974252ef2d955a608d0adc1 (patch)
treea803ae6c953806877d0f857dcd07f87dcc06f9b4 /lib/optparse/date.rb
parent5074aa19841dac0c1fcb037cd8306c5fe8e8516a (diff)
[ruby/optparse] Use `require_relative` for internal requires (https://github.com/ruby/optparse/pull/28)
https://github.com/ruby/optparse/commit/e4f2682128
Diffstat (limited to 'lib/optparse/date.rb')
-rw-r--r--lib/optparse/date.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/optparse/date.rb b/lib/optparse/date.rb
index d6649c83f1..7bbf12b77f 100644
--- a/lib/optparse/date.rb
+++ b/lib/optparse/date.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: false
-require 'optparse'
+require_relative '../optparse'
require 'date'
OptionParser.accept(DateTime) do |s,|