Sha256: 53a2b6c0acb67f42fc91a6a501e0538ac7f677e4d1e14a4f52b9d0c4b27a3cbf

Contents?: true

Size: 802 Bytes

Versions: 1

Compression:

Stored size: 802 Bytes

Contents

# Ircp

Ircp is a IRC parser for ruby.

## Installation

Add this line to your application's Gemfile:

    gem 'ircp'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install ircp

## Usage

```ruby
require 'ircp'
msg = Ircp.parse ':Angel!wings@irc.org PRIVMSG Wiz :Are you receiving this message ?'

puts msg.prefix.nick # => 'Angel'
puts msg.prefix.user # => 'wings'
puts msg.prefix.host # => 'irc.org'
puts msg.command     # => 'PRIVMSG'
puts msg.params[0]   # => 'Wiz'
puts msg.params[1]   # => 'Are you receiving this message ?'
```

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ircp-0.0.4 README.md