Skip to content

Commit b5294c9

Browse files
committed
Remove defined check when requiring from string_ext
1 parent 5548f55 commit b5294c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/unicode/display_width/string_ext.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require_relative "../display_width" unless defined? Unicode::DisplayWidth
3+
require_relative "../display_width"
44

55
class String
66
def display_width(ambiguous = 1, overwrite = {}, options = {})

0 commit comments

Comments
 (0)