Method: IPAddr#&

Defined in:
lib/ipaddr.rb

#&(other) ⇒ Object

Returns a new ipaddr built by bitwise AND.



130
131
132
# File 'lib/ipaddr.rb', line 130

def &(other)
  return self.clone.set(@addr & coerce_other(other).to_i)
end