Method: Codebot::Network#==
- Defined in:
- lib/codebot/network.rb
#==(other) ⇒ Boolean Also known as: eql?
Checks whether this network is equal to another network.
195 196 197 198 199 200 201 |
# File 'lib/codebot/network.rb', line 195 def ==(other) other.is_a?(Network) && name_eql?(other.name) && host.eql?(other.host) && port.eql?(other.port) && secure.eql?(other.secure) end |