This repository has been archived by the owner. It is now read-only.
regnbue
regnbue
Just some helper functions to format/color strings.
Installation
Add this to your application's shard.yml
:
dependencies:
regnbue:
github: ragmaanir/regnbue
Usage
require "regnbue"
Regnbue.format_large_number(1234567)
#=> "1,234,567"
Regnbue.format_string({
:white,
"This is ",
{:yellow,
"the ",
{:red, "last "},
"warning ",
},
"for all of ",
{:red, "you!"},
})
Contributing
- Fork it ( https://github.com/[your-github-name]/regnbue/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
Contributors
- Ragmaanir - creator, maintainer
Repository
regnbue
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- almost 8 years ago
- January 13, 2017
License
MIT License
Links
Synced at
Sun, 24 Nov 2024 18:35:35 GMT
Languages