stringer
stringer
Useful utilities patched on top of the lovely crystal's String.
Project Health Status
Getting Started
Add the dependency to your shard.yml
:
dependencies:
stringer:
github: cmd-coffee/stringer
Install your shards:
> shards install
Require it:
require "stringer"
Strum along:
strum = "The quick brown fox jumps over the lazy dog"
strum.truncate(28) # => "The quick brown fox jumps..."
strum = " some \t\n messy\ttxt \n\t "
strum.squish # => "some messy txt"
Contributing
- Fork it (https://github.com/cmd-coffee/stringer/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Repository
stringer
Owner
Statistic
- 1
- 0
- 0
- 1
- 0
- over 5 years ago
- June 21, 2019
License
MIT License
Links
Synced at
Fri, 08 Nov 2024 03:40:18 GMT
Languages