Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/springmt/string_irc
Generate colored and styled messages for IRC
https://github.com/springmt/string_irc
Last synced: about 2 months ago
JSON representation
Generate colored and styled messages for IRC
- Host: GitHub
- URL: https://github.com/springmt/string_irc
- Owner: SpringMT
- License: mit
- Created: 2013-01-20T08:57:54.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-01-20T09:26:50.000Z (about 12 years ago)
- Last Synced: 2024-12-07T00:55:11.655Z (2 months ago)
- Language: Ruby
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# StringIrc [![Build Status](https://travis-ci.org/SpringMT/string_irc.png)](https://travis-ci.org/SpringMT/string_irc)
## Installation
Add this line to your application's Gemfile:
gem 'string_irc'
And then execute:
$ bundle
Or install it yourself as:
$ gem install string_irc
## Usage
~~~
str = StringIrc.new('hello').red(:white).bold.italics.resultUse str for IRC message
~~~## Reference
* [String::IRC (perl)](http://search.cpan.org/~hirose/String-IRC-0.04/lib/String/IRC.pm)
* [IRCで色をつける方法](http://d.hatena.ne.jp/nishiohirokazu/20080225/1203919287)
* [IRCのメッセージ装飾](http://d.hatena.ne.jp/hirose31/20060824/1156400991)
* [mIRC Colors](http://www.mirc.co.uk/colors.html)## Contributing
1. Fork it
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 new Pull Request