Skip to content

Commit

Permalink
Use a struct for IRC lines, clean up code a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
hinrik committed Sep 15, 2013
1 parent 6abdfb7 commit ce7f366
Show file tree
Hide file tree
Showing 6 changed files with 205 additions and 231 deletions.
3 changes: 2 additions & 1 deletion CHANGES.md
@@ -1,6 +1,7 @@
* Use `Set` instead of `Array` where appropriate
* Allow trailing `\r\n` or `\n` in arguments to `#parse` and `#decompose_line`
* Allow trailing `\r\n` or `\n` in arguments to `#parse` and `#decompose`
* Call `#inspect` on unsupported protocol lines
* Used a struct to represent IRC protocol lines and simplified some code

0.2.0 Mon Dec 3 18:27:18 2012 +0000
-----
Expand Down
2 changes: 1 addition & 1 deletion lib/ircsupport/masks.rb
Expand Up @@ -28,7 +28,7 @@ def matches_mask(mask, string, casemapping = :rfc1459)
end

# Match strings to multiple IRC masks.
# @param [Array] mask The masks to match against.
# @param [Array] masks The masks to match against.
# @param [Array] strings The strings to match against the masks.
# @param [Symbol] casemapping The IRC casemapping to use in the match.
# @return [Hash] Each mask that was matched will be present as a key,
Expand Down

0 comments on commit ce7f366

Please sign in to comment.