Sha256: 420e97501bb476b5159abf539b7171a820879ed8c68a64b6ea5176fdb74d9f86

Contents?: true

Size: 260 Bytes

Versions: 131

Compression:

Stored size: 260 Bytes

Contents

# frozen_string_literal: true

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

class String
  def display_width(ambiguous = 1, overwrite = {}, options = {})
    Unicode::DisplayWidth.of(self, ambiguous, overwrite, options)
  end
end

Version data entries

131 entries across 125 versions & 23 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.5.0/lib/unicode/display_width/string_ext.rb
brakeman-7.0.0 bundle/ruby/3.1.0/gems/unicode-display_width-2.6.0/lib/unicode/display_width/string_ext.rb
unicode-display_width-2.6.0 lib/unicode/display_width/string_ext.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.5.0/lib/unicode/display_width/string_ext.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.3.0/lib/unicode/display_width/string_ext.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.3.0/lib/unicode/display_width/string_ext.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.3.0/lib/unicode/display_width/string_ext.rb
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/unicode-display_width-2.5.0/lib/unicode/display_width/string_ext.rb
harbr-2.8.1 vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.5.0/lib/unicode/display_width/string_ext.rb
bison-0.1.0 vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.5.0/lib/unicode/display_width/string_ext.rb
mlh-rubocop-config-1.0.3 vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.5.0/lib/unicode/display_width/string_ext.rb
study_line-0.2.7 vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.5.0/lib/unicode/display_width/string_ext.rb
study_line-0.2.6 vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.5.0/lib/unicode/display_width/string_ext.rb
study_line-0.2.5 vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.5.0/lib/unicode/display_width/string_ext.rb
study_line-0.2.4 vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.5.0/lib/unicode/display_width/string_ext.rb
study_line-0.2.3 vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.5.0/lib/unicode/display_width/string_ext.rb
study_line-0.2.2 vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.5.0/lib/unicode/display_width/string_ext.rb
study_line-0.2.1 vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.5.0/lib/unicode/display_width/string_ext.rb
study_line-0.2.0 vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.5.0/lib/unicode/display_width/string_ext.rb
harbr-0.2.10 vendor/bundle/ruby/3.2.0/gems/unicode-display_width-2.5.0/lib/unicode/display_width/string_ext.rb