Class: IPAddr
- Inherits:
- 
      Object
      
        - Object
- IPAddr
 
- Defined in:
- lib/puppet/util/monkey_patches_ios.rb
Instance Method Summary collapse
Instance Method Details
#eql?(other) ⇒ Boolean
| 9 10 11 | # File 'lib/puppet/util/monkey_patches_ios.rb', line 9 def eql?(other) return self.class == other.class && self.hash == other.hash && self == other end | 
#hash ⇒ Object
| 13 14 15 | # File 'lib/puppet/util/monkey_patches_ios.rb', line 13 def hash return ([@addr, @mask_addr].hash << 1) | (ipv4? ? 0 : 1) end |