Ircp is a IRC minimal parser for ruby.
Add this line to your application's Gemfile:
gem 'ircp' And then execute:
$ bundle Or install it yourself as:
$ gem install ircp # Parserequire'ircp'msg=Ircp.parse':[email protected] PRIVMSG Wiz :Are you receiving this message ?'pmsg.prefix.nick# => 'Angel'pmsg.prefix.user# => 'wings'pmsg.prefix.host# => 'irc.org'pmsg.command# => 'PRIVMSG'pmsg.params[0]# => 'Wiz'pmsg.params[1]# => 'Are you receiving this message ?'# Dumpmsg=Ircp::Message.new'PRIVMSG','Wiz',':Are you receiving this message ?',prefix: {nick: 'Angel',user: 'wings',host: 'irc.org'}pmsg.to_s# => ':[email protected] PRIVMSG Wiz :Are you receiving this message ?\r\n'- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request

