--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: This method is used to match the current Netmask against another one
- !ruby/struct:SM::Flow::P 
  body: The method returns true if each component of the receiver matches the corresponding component of the argument. By <em>matching</em> here we mean that any netmask described by the receiver is also described by the argument.
- !ruby/struct:SM::Flow::P 
  body: "In this sense, matching is rather simple to define in the case when the receiver has no globs: it is just necessary to check if the argument describes the receiver, which can be done by matching it against the argument converted into an IRC Regexp (see String#to_irc_regexp)."
- !ruby/struct:SM::Flow::P 
  body: The situation is also easy when the receiver has globs and the argument doesn't, since in this case the result is false.
- !ruby/struct:SM::Flow::P 
  body: The more complex case in which both the receiver and the argument have globs is not handled yet.
full_name: Irc::Netmask#matches?
is_singleton: false
name: matches?
params: (arg)
visibility: public
