Sha256: 0aa84b3c4908320e43860c95956c59a59af83c1d9a8270cc451fff76f342a4df

Contents?: true

Size: 537 Bytes

Versions: 2

Compression:

Stored size: 537 Bytes

Contents

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Word wrap a string not exceeding max width.
- !ruby/struct:SM::Flow::VERB 
  body: "  puts "this is a test".word_wrap(4)\n"
- !ruby/struct:SM::Flow::P 
  body: <em>produces</em>
- !ruby/struct:SM::Flow::VERB 
  body: "  this\n  is a\n  test\n\n  CREDIT: Gavin Kistner\n  CREDIT: Dayne Broderson\n"
full_name: String::Words#word_wrap
is_singleton: false
name: word_wrap
params: ( col_width=80 )
visibility: public

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-2.4.2 doc/ri/String/Words/word_wrap-i.yaml
facets-2.4.3 doc/ri/String/Words/word_wrap-i.yaml