Skip to content

Commit

Permalink
Remove defined check when requiring from string_ext
Browse files Browse the repository at this point in the history
  • Loading branch information
janlelis committed Nov 12, 2024
1 parent 5548f55 commit b5294c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/unicode/display_width/string_ext.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require_relative "../display_width" unless defined? Unicode::DisplayWidth
require_relative "../display_width"

class String
def display_width(ambiguous = 1, overwrite = {}, options = {})
Expand Down

0 comments on commit b5294c9

Please sign in to comment.