/takosan

Ruby wrapper of Takosan

Primary LanguageRubyMIT LicenseMIT

Takosan

Gem Version Build Status

Ruby wrapper of Takosan

Installation

Add this line to your application's Gemfile:

gem 'takosan'

And then execute:

$ bundle

Or install it yourself as:

$ gem install takosan

Usage

Takosan.url = "http://irc.example.com:4649"
Takosan.channel = "#example"
Takosan.privmsg 'awesome comment'
Takosan.privmsg 'awesome comment and title with link', color: '#000', title: 'black title', title_link: 'http://example.com'

You can change Takosan's icon and name like the following:

Takosan.icon = ":angel:"
Takosan.name = "ikasan"

Contributing

  1. Fork it ( https://github.com/pepabo/takosan/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