--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: []

comment: 
- !ruby/struct:SM::Flow::P 
  body: Truncates a string to the given length and appends the given suffix if the string is, in fact, truncated.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: "Examples:"
- !ruby/struct:SM::Flow::VERB 
  body: " &quot;This is a long string right here&quot;.truncate(10, &quot;...&quot;)  #=&gt; &quot;This is...&quot;\n"
constants: []

full_name: String
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: truncate
name: String
superclass: Object
