Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/unicode/display_width/string_ext.rb

Instance Method Summary collapse

Instance Method Details

#display_width(ambiguous = 1, overwrite = {}, options = {}) ⇒ Object



6
7
8
# File 'lib/unicode/display_width/string_ext.rb', line 6

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