Module: Helium::Console::ColorizedString::Helpers

Included in:
KeyValue::TableFormatter
Defined in:
lib/helium/console/colorized_string.rb

Instance Method Summary collapse

Instance Method Details

#length_of(string) ⇒ Object



25
26
27
# File 'lib/helium/console/colorized_string.rb', line 25

def length_of(string)
  ColorizedString.new(string).length
end