File: //usr/local/rvm/gems/ruby-2.5.9/doc/activesupport-6.1.4.1/ri/String/truncate_bytes-i.ri
U:RDoc::AnyMethod[iI"truncate_bytes:ETI"String#truncate_bytes;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"KTruncates +text+ to at most <tt>bytesize</tt> bytes in length without ;TI"Lbreaking string encoding by splitting multibyte characters or breaking ;TI"Lgrapheme clusters ("perceptual characters") by truncating at combining ;TI"characters.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"`>> "🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪".size
;TI"=> 20
;TI"d>> "🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪".bytesize
;TI"=> 80
;TI"n>> "🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪".truncate_bytes(20)
;TI"=> "🔪🔪🔪🔪…"
;T:@format0o;
; [I"LThe truncated text ends with the <tt>:omission</tt> string, defaulting ;TI"Bto "…", for a total length not exceeding <tt>bytesize</tt>.;T:
@fileI"2lib/active_support/core_ext/string/filters.rb;T:0@omit_headings_from_table_of_contents_below000[ I"#(truncate_at, omission: "…");T@FI"String;TcRDoc::NormalClass00