README.md in ircp-1.1.7 vs README.md in ircp-1.1.8

- old
+ new

@@ -1,6 +1,6 @@ -# Ircp +# Ircp [![Build Status](https://travis-ci.org/mashiro/ircp-ruby.png?branch=master)](https://travis-ci.org/mashiro/ircp-ruby) [![Dependency Status](https://gemnasium.com/mashiro/ircp-ruby.png)](https://gemnasium.com/mashiro/ircp-ruby) Ircp is a IRC minimal parser for ruby. ## Installation @@ -20,19 +20,18 @@ ```ruby # Parse require 'ircp' msg = Ircp.parse ':Angel!wings@irc.org PRIVMSG Wiz :Are you receiving this message ?' - p msg.prefix.nick # => 'Angel' p msg.prefix.user # => 'wings' p msg.prefix.host # => 'irc.org' p msg.command # => 'PRIVMSG' p msg.params[0] # => 'Wiz' p msg.params[1] # => 'Are you receiving this message ?' # Dump -msg = Ircp::Message.new 'Wiz', ':Are you receiving this message ?', :command => 'PRIVMSG', :prefix => {:nick => 'Angel', :user => 'wings', :host => 'irc.org'} +msg = Ircp::Message.new 'PRIVMSG', 'Wiz', ':Are you receiving this message ?', prefix: {nick: 'Angel', user: 'wings', host: 'irc.org'} p msg.to_s # => ':Angel!wings@irc.org PRIVMSG Wiz :Are you receiving this message ?\r\n' ``` ## Contributing