Skip to content

This is a simple extension to the String class to add a method which cleanly, flexibly, and naturally breaks long strings for display on a terminal of a given width.

License

Notifications You must be signed in to change notification settings

wyhaines/string-wrap.cr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

string-wrap

TODO: Write a description here

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      string-wrap:
        github: wyhaines/string-wrap
  2. Run shards install

Usage

require "string-wrap"

TODO: Write usage instructions here

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/wyhaines/string-wrap/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

This is a simple extension to the String class to add a method which cleanly, flexibly, and naturally breaks long strings for display on a terminal of a given width.

Resources

License

Stars

Watchers

Forks

Packages

No packages published